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 William Chaseling
Recipients William Chaseling
Date 2018-09-12.03:01:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536721283.17.0.956365154283.issue34642@psf.upfronthosting.co.za>
In-reply-to
Content
time.ctime() returns _asctime from a C module.
_asctime returns a PyUnicode_FromFormat() result using "%s %s%3d %.2d:%.2d:%.2d %d" as the string formatter.

This works: 'Wed Sep 12 22:30:00 2018'
Except when day <10, because it uses %3d instead of %.2d
'Wed Sep  2 22:30:00 2018'

This seems like it might be intended behavior for some reason, but I don't see the reason.
History
Date User Action Args
2018-09-12 03:01:23William Chaselingsetrecipients: + William Chaseling
2018-09-12 03:01:23William Chaselingsetmessageid: <1536721283.17.0.956365154283.issue34642@psf.upfronthosting.co.za>
2018-09-12 03:01:23William Chaselinglinkissue34642 messages
2018-09-12 03:01:22William Chaselingcreate