Message 371019 - Python tracker

Message371019

Author p-ganssle
Recipients belopolsky, laurent chriqui, p-ganssle
Date 2020-06-08.17:07:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591636040.61.0.14303559549.issue40908@roundup.psfhosted.org>
In-reply-to
Content
This is a duplicate of bpo-13305 and is due to platform-specific implementations of %Y. On Linux, `strftime()` does not zero-pad to 4, and if you need to represent years <1000, you should use "%4Y" to zero-pad the output.

I think the ideal resolution would be a cross-platform implementation of strftime and strptime that does not rely on the system symbols, but that is a pretty large and overwhelming project.
History
Date User Action Args
2020-06-08 17:07:20p-gansslesetrecipients: + p-ganssle, belopolsky, laurent chriqui
2020-06-08 17:07:20p-gansslesetmessageid: <1591636040.61.0.14303559549.issue40908@roundup.psfhosted.org>
2020-06-08 17:07:20p-gansslelinkissue40908 messages
2020-06-08 17:07:20p-gansslecreate