[issue22377] %Z in strptime doesn't match EST and others
Akira Li
report at bugs.python.org
Sun Sep 14 01:35:15 CEST 2014
Akira Li added the comment:
if PEP 431 is implemented (or anything that gives access to zoneinfo)
then strptime could extend the list of timezones it accepts (utc +
local timezone names) to include names from the tz database:
import pytz # $ pip install pytz
{tzname for tz in map(pytz.timezone, pytz.all_timezones)
for _, _, tzname in getattr(tz, '_transition_info', [])}
It includes EST.
----------
nosy: +akira
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22377>
_______________________________________
More information about the Python-bugs-list
mailing list