From 84fc132044179cfd2a190ba387ccea58fc63e146 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 15 Sep 2007 18:11:43 +0000 Subject: Fixed #3350 -- Fixed timezone setting. Thanks, Matt Boersma. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6300 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/conf/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/conf/__init__.py b/django/conf/__init__.py index f28da2d764..f19e509ea3 100644 --- a/django/conf/__init__.py +++ b/django/conf/__init__.py @@ -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) -- cgit v1.3