Fixed #3350 -- Fixed timezone setting. Thanks, Matt Boersma.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-09-15 18:11:43 +00:00
parent 388182b622
commit 84fc132044
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ class Settings(object):
# Move the time zone info into os.environ. See ticket #2315 for why # Move the time zone info into os.environ. See ticket #2315 for why
# we don't do this unconditionally (breaks Windows). # we don't do this unconditionally (breaks Windows).
os.environ['TZ'] = self.TIME_ZONE os.environ['TZ'] = self.TIME_ZONE
time.tzset()
def get_all_members(self): def get_all_members(self):
return dir(self) return dir(self)