Message8225

Author Arfrever
Recipients Arfrever, jeff.allen, santa4nt
Date 2014-01-12.22:20:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389565253.36.0.28259130842.issue2112@psf.upfronthosting.co.za>
In-reply-to
Content
time.strptime() has different default year in Jython and CPython.

$ python2.7 -c 'import time; print(time.strptime("1", "%d"))'
time.struct_time(tm_year=1900, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=0, tm_yday=1, tm_isdst=-1)
$ jython2.7 -c 'import time; print(time.strptime("1", "%d"))'
time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=-1)
History
Date User Action Args
2014-01-12 22:20:53Arfreversetrecipients: + Arfrever, jeff.allen, santa4nt
2014-01-12 22:20:53Arfreversetmessageid: <1389565253.36.0.28259130842.issue2112@psf.upfronthosting.co.za>
2014-01-12 22:20:53Arfreverlinkissue2112 messages
2014-01-12 22:20:53Arfrevercreate