Garrett Cooper added the comment: 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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15942> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com