osmo-gsm-manuals[master]: portability: use py script instead of 'date -d @1234'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Oct 18 10:09:25 UTC 2016


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/1081/1/build/unix-time-to-fmt.py
File build/unix-time-to-fmt.py:

Line 18: print time.strftime(fmt, time.gmtime(float(sys.argv[1])))
add parenthesis around print and this is portable between py2 and py3. also replace python2 -> python.


-- 
To view, visit https://gerrit.osmocom.org/1081
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I91a40656184f553ee375216d8ba5c7788fe9990d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list