This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ngie
Recipients belopolsky, ngie, r.david.murray, terry.reedy
Date 2012-09-13.22:32:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347575573.6.0.488093867644.issue15942@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-09-13 22:32:53ngiesetrecipients: + ngie, terry.reedy, belopolsky, r.david.murray
2012-09-13 22:32:53ngiesetmessageid: <1347575573.6.0.488093867644.issue15942@psf.upfronthosting.co.za>
2012-09-13 22:32:32ngielinkissue15942 messages
2012-09-13 22:32:31ngiecreate