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 martin.panter
Recipients William Chaseling, martin.panter
Date 2018-09-12.03:47:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536724070.31.0.956365154283.issue34642@psf.upfronthosting.co.za>
In-reply-to
Content
I think "ctime" and "asctime" are supposed to wrap or imitate the standard C functions: <https://port70.net/~nsz/c/c11/n1570.html#7.27.3.2>, so I think this is intended behaviour. But see Issue 13927 about improving the documentation.

For a single-digit day of the month, there is supposed to be two spaces. Using "%.2d" would produce "Sep02" or "Sep 02", with a leading zero. On the other hand, changing the double space to a single space would produce "Sep 2", without a leading zero.
History
Date User Action Args
2018-09-12 03:47:50martin.pantersetrecipients: + martin.panter, William Chaseling
2018-09-12 03:47:50martin.pantersetmessageid: <1536724070.31.0.956365154283.issue34642@psf.upfronthosting.co.za>
2018-09-12 03:47:50martin.panterlinkissue34642 messages
2018-09-12 03:47:50martin.pantercreate