Opened 13 years ago

Last modified 13 years ago

#17009 closed Bug

New version caused ValueError: Incorrect timezone setting: GMT-8 — at Initial Version

Reported by: fangzhouxing@… Owned by: nobody
Component: Uncategorized Version: 1.3
Severity: Normal Keywords: timezone
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I use Ubuntu 8.04. I have found the source code in /usr/lib/python2.5/site-packages/django/conf/init.py has changed since version 1.2.3 and caused this problem. The following code is added by version 1.3.0:

zoneinfo_root = '/usr/share/zoneinfo'

if (os.path.exists(zoneinfo_root) and not

os.path.exists(os.path.join(zoneinfo_root, *(self.TIME_ZONE.split('/'))))):

raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top