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 ezio.melotti
Recipients belopolsky, docs@python, ezio.melotti, flox, python-dev, vstinner
Date 2016-01-01.04:47:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451623629.65.0.112593258431.issue13305@psf.upfronthosting.co.za>
In-reply-to
Content
See msg146972 -- AFAIU the padding of %Y is inconsistent for years <1000 (e.g. 0042 vs 42), and this is not documented in the note (2) of https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior
Also, using %4Y seems to consistently produce zero-padded values across different platforms.
History
Date User Action Args
2016-01-01 04:47:09ezio.melottisetrecipients: + ezio.melotti, belopolsky, vstinner, flox, docs@python, python-dev
2016-01-01 04:47:09ezio.melottisetmessageid: <1451623629.65.0.112593258431.issue13305@psf.upfronthosting.co.za>
2016-01-01 04:47:09ezio.melottilinkissue13305 messages
2016-01-01 04:47:09ezio.melotticreate