mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue