Message170460
Hahaha... you're right:
$ perl -e 'use POSIX; print strftime("%m-%d-%y %H:%M:%S", localtime)."\n";'; date
09-13-12 23:25:49
Thu, Sep 13, 2012 3:25:49 PM
$ python -c 'import time; print time.strftime("%m-%d-%y %H:%M:%S", time.localtime())'; date
09-13-12 23:26:25
Thu, Sep 13, 2012 3:26:25 PM
$ python -c 'import time; print time.strftime("%m-%d-%y %H:%M:%S", time.localtime())'; env TZ=utc date
09-13-12 23:27:35
Thu, Sep 13, 2012 10:27:35 PM
Now I've just moved the dang clock ahead 8 hours because the timezone is screwed up (now python assumes UTC, Cygwin assumes local time, and Windows assumes UTC), I guess I'll have to recommend `fixing` our Linux installs to use local time (dog gone Windows). |
|
Date |
User |
Action |
Args |
2012-09-13 22:32:53 | ngie | set | recipients:
+ ngie, terry.reedy, belopolsky, r.david.murray |
2012-09-13 22:32:53 | ngie | set | messageid: <1347575573.6.0.488093867644.issue15942@psf.upfronthosting.co.za> |
2012-09-13 22:32:32 | ngie | link | issue15942 messages |
2012-09-13 22:32:31 | ngie | create | |
|