Author flox
Recipients belopolsky, docs@python, ezio.melotti, flox, python-dev, vstinner
Date 2011-11-03.20:20:48
SpamBayes Score 1.74819e-07
Marked as misclassified No
Message-id <1320351649.51.0.916134076248.issue13305@psf.upfronthosting.co.za>
In-reply-to
Content
I understand that the issue is because the C standard does not specify the length of the string returned by '%Y'.

The changeset 230f0956aaa3 adds a test to verify that either '%Y' or '%4Y' returns a 4-digits value usable to produce ISO-8601 representations.

Now it is a documentation issue: add a comment to the "%Y" specifier saying that the padding is not applicable to all platforms and in such case the "%4Y" specifier should return the 4-digit value.
History
Date User Action Args
2011-11-03 20:20:49floxsetrecipients: + flox, belopolsky, vstinner, ezio.melotti, docs@python, python-dev
2011-11-03 20:20:49floxsetmessageid: <1320351649.51.0.916134076248.issue13305@psf.upfronthosting.co.za>
2011-11-03 20:20:48floxlinkissue13305 messages
2011-11-03 20:20:48floxcreate