[docs] [issue13927] Extra spaces in the output of time.ctime

Antti Haapala report at bugs.python.org
Sat Dec 22 03:32:47 EST 2018


Antti Haapala <antti at haapala.name> added the comment:

This should be added to `asctime` too.

The space-padded behaviour complies with the C standard which was the intent - after all, before it was using C `asctime` directly, and says that unlike C asctime, it doesn't have the newline character, meaning that as a rule, it should then behave similar to it, and only exception is marked.

Unfortunately MSVC asctime has been incorrectly using leading zeros (https://stackoverflow.com/q/53894148/918959).

----------
nosy: +ztane

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue13927>
_______________________________________


More information about the docs mailing list