Modify ↓
Opened 9 years ago
Closed 9 years ago
#12537 closed defect (fixed)
Etc/GMT-14 timezone of pytz is not listed in prefs/datetime
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.13 |
| Component: | general | Version: | |
| Severity: | minor | Keywords: | pytz |
| Cc: | Branch: | ||
| Release Notes: |
Fix not listing |
||
| 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'
Attachments (0)
Change History (2)
comment:1 by , 9 years ago
| Owner: | set to |
|---|---|
| Release Notes: | modified (diff) |
| Status: | new → assigned |
comment:2 by , 9 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Committed and merged to 1.2-stable and trunk in [14970-14972].
Note:
See TracTickets
for help on using tickets.



Proposed changes in [50b9ee747/jomae.git].