[issue35469] [2.7] time.asctime() regression
Antti Haapala
report at bugs.python.org
Sat Dec 22 02:49:40 EST 2018
Antti Haapala <antti at haapala.name> added the comment:
C11 specifies the format used by asctime as being exactly
"%.3s %.3s%3d %.2d:%.2d:%.2d %d\n",
which matches the *new* output with space padding, less the newline.
As always, Microsoft got it wrong: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/asctime-wasctime?view=vs-2017 - even if deliberately saying 1-31 instead of 01-31 in the table.
----------
nosy: +ztane
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35469>
_______________________________________
More information about the Python-bugs-list
mailing list