Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Malcolm Tredinnick authored September 15, 2007

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/conf/__init__.py
1  django/conf/__init__.py
@@ -112,6 +112,7 @@ def __init__(self, settings_module):
112 112
             # Move the time zone info into os.environ. See ticket #2315 for why
113 113
             # we don't do this unconditionally (breaks Windows).
114 114
             os.environ['TZ'] = self.TIME_ZONE
  115
+            time.tzset()
115 116
 
116 117
     def get_all_members(self):
117 118
         return dir(self)

0 notes on commit 84fc132

Please sign in to comment.
Something went wrong with that request. Please try again.