[issue22377] %Z in strptime doesn't match EST and others

Akira Li report at bugs.python.org
Sun Sep 14 01:40:06 CEST 2014


Akira Li added the comment:

Without %z (utc offset) strptime returns a naive datetime object that
is interpreted as utc or local time usually.

It might explain why %Z tries to match only utc and the local timezone
names.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22377>
_______________________________________


More information about the Python-bugs-list mailing list