Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 84fc132044179cfd2a190ba387ccea58fc63e146 1 parent 388182b
@malcolmt malcolmt authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.