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.

classification
Title: Wrong datetime format in PEP3101
Type: behavior Stage:
Components: Documentation Versions: 3rd party
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eric.smith, ezio.melotti, ojab
Priority: normal Keywords:

Created on 2011-09-30 17:51 by ojab, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg144698 - (view) Author: (ojab) Date: 2011-09-30 17:51
Example in pep3101 is
"Today is: {0:a b d H:M:S Y}".format(datetime.now())
but it should be 
"Today is: {0:%a %b %d %H:%M:%S %Y}".format(datetime.now())
msg144705 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2011-09-30 20:36
Thanks for the report. Fixed in 9a9bd05b9fca.
History
Date User Action Args
2022-04-11 14:57:22adminsetgithub: 57288
2011-09-30 20:36:54eric.smithsetstatus: open -> closed
resolution: fixed
messages: + msg144705
2011-09-30 19:42:19ezio.melottisetnosy: + eric.smith, ezio.melotti
2011-09-30 17:51:59ojabcreate