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:
parent
388182b622
commit
84fc132044
|
@ -112,6 +112,7 @@ class Settings(object):
|
|||
# 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)
|
||||
|
|
Loading…
Reference in New Issue