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 vstinner
Recipients vstinner
Date 2011-01-08.02:43:14
SpamBayes Score 0.00046866943
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
The following example displays '2345' instead of '12345':

import time
t = (12345,) + (0,)*8
print(repr(time.strftime("%Y", t)))

time.strftime() should raise a ValueError if the year is bigger than 9999, as it is done with Visual Studio for year outside [1; 9999].
History
Date User Action Args
2011-01-08 02:43:17vstinnersetrecipients: + vstinner
2011-01-08 02:43:17vstinnersetmessageid: <[email protected]>
2011-01-08 02:43:14vstinnerlinkissue10864 messages
2011-01-08 02:43:14vstinnercreate