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 sam-s
Recipients sam-s
Date 2020-12-16.23:45:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608162329.64.0.12903130366.issue42664@roundup.psfhosted.org>
In-reply-to
Content
>>> import datetime, locale
>>> locale.getlocale()
('en_US', 'UTF-8')
>>> datetime.datetime.strptime("%c",datetime.datetime.now().strftime("%c"))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "/usr/lib/python3.8/_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '%c' does not match format 'Wed Dec 16 18:44:27 2020'
History
Date User Action Args
2020-12-16 23:45:29sam-ssetrecipients: + sam-s
2020-12-16 23:45:29sam-ssetmessageid: <1608162329.64.0.12903130366.issue42664@roundup.psfhosted.org>
2020-12-16 23:45:29sam-slinkissue42664 messages
2020-12-16 23:45:29sam-screate