Opened 8 years ago
Last modified 8 years ago
#12537 closed defect
Etc/GMT-14 timezone of pytz is not listed in prefs/datetime — at Initial Version
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.13 |
Component: | general | Version: | |
Severity: | minor | Keywords: | pytz |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
>>> import pytz >>> pytz.timezone('Etc/GMT-13') <StaticTzInfo 'Etc/GMT-13'> >>> pytz.timezone('Etc/GMT-14') <StaticTzInfo 'Etc/GMT-14'>
>>> from trac.util.datefmt import timezone >>> timezone('Etc/GMT-13') <FixedOffset "GMT +13:00" 13:00:00> >>> timezone('Etc/GMT-14') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<venv>/lib/python2.6/site-packages/trac/util/datefmt.py", line 1113, in timezone raise KeyError(tzname) KeyError: 'Etc/GMT-14'
Note:
See TracTickets
for help on using tickets.