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 belopolsky, eric.smith, matrixise, miss-islington, mjsaah, p-ganssle, pablogsal, terry.reedy, thatiparthy, vstinner, xdegaye, xtreak
Date 2019-03-18.11:57:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552910266.77.0.360373810079.issue35066@roundup.psfhosted.org>
In-reply-to
Content
Xavier de Gaye: That's why I asked to stop relying on the exact behavior of strftime() of the libc to get portable behavior :-/ See my previous comments.

IMHO the correct fix is to strip trailing % from the format string, call strftime() and then concatenate the trailing %.
History
Date User Action Args
2019-03-18 11:57:46vstinnersetrecipients: + vstinner, terry.reedy, belopolsky, eric.smith, xdegaye, matrixise, thatiparthy, p-ganssle, pablogsal, miss-islington, xtreak, mjsaah
2019-03-18 11:57:46vstinnersetmessageid: <1552910266.77.0.360373810079.issue35066@roundup.psfhosted.org>
2019-03-18 11:57:46vstinnerlinkissue35066 messages
2019-03-18 11:57:46vstinnercreate