[issue25963] strptime not parsing some timezones

Andrei Kulakov report at bugs.python.org
Fri Aug 6 17:17:23 EDT 2021


Andrei Kulakov <andrei.avk at gmail.com> added the comment:

This was fixed so can be closed.

Current datetime docs have a footnote for %Z:

...
strptime() only accepts certain values for %Z:

any value in time.tzname for your machine’s locale

the hard-coded values UTC and GMT

----------
nosy: +andrei.avk

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


More information about the Python-bugs-list mailing list