Browse files

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

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 388182b commit 84fc132044179cfd2a190ba387ccea58fc63e146 @malcolmt malcolmt committed Sep 15, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/conf/__init__.py
View
1 django/conf/__init__.py
@@ -112,6 +112,7 @@ def __init__(self, settings_module):
# Move the time zone info into os.environ. See ticket #2315 for why
# we don't do this unconditionally (breaks Windows).
os.environ['TZ'] = self.TIME_ZONE
+ time.tzset()
def get_all_members(self):
return dir(self)

0 comments on commit 84fc132

Please sign in to comment.