Opened 12 years ago

Closed 12 years ago

#6 closed defect (fixed)

MIssing timezones in trac

Reported by: shenki Owned by: bernie
Priority: major Milestone:
Component: infrastructure Version:
Severity: Keywords:
Cc: Distribution/OS:
Bug Status:

Description

Preferences in trac does not list my timezone (+930). Looking at the source, this is because it's falling back to a hard-coded timezone list in the absense of pytz:

http://trac.edgewall.org/browser/branches/0.11-stable/trac/util/datefmt.py#L300

300 # Use a makeshift timezone implementation if pytz is not available.
301 # This implementation only supports fixed offset time zones.

The solution appears to be installing pytz (python-tz in Debian).

Change History (1)

comment:1 Changed 12 years ago by krstic

  • Resolution set to fixed
  • Status changed from new to closed

Installed python-tz, verified time zone listing appears in Trac preferences.

Note: See TracTickets for help on using tickets.