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 flox
Recipients flox
Date 2011-10-31.20:12:36
SpamBayes Score 4.6661215e-05
Marked as misclassified No
Message-id <1320091957.61.0.759691422668.issue13305@psf.upfronthosting.co.za>
In-reply-to
Content
See msg146725 on issue 13291.

on linux
>>> datetime(1,  2, 10, 11, 41, 23).strftime("%Y")
'1'

on osx
>>> datetime(1,  2, 10, 11, 41, 23).strftime("%Y")
'0001'


>>> datetime.strptime('0001', '%Y')
datetime.datetime(1, 1, 1, 0, 0)

>>> datetime.strptime('1', '%Y')
ValueError: time data '1' does not match format '%Y'
History
Date User Action Args
2011-10-31 20:12:37floxsetrecipients: + flox
2011-10-31 20:12:37floxsetmessageid: <1320091957.61.0.759691422668.issue13305@psf.upfronthosting.co.za>
2011-10-31 20:12:37floxlinkissue13305 messages
2011-10-31 20:12:36floxcreate