diff options
| author | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-03-14 20:37:03 +0000 |
|---|---|---|
| committer | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-03-14 20:37:03 +0000 |
| commit | e1d2422cfd2dc36ab92db7c63342e856fc6b9e10 (patch) | |
| tree | e124366a1e2e5fc5d9ae29845ef51da0a460197e /django/utils | |
| parent | 09005281ac54effa58befb9fe8aba2327f2a8136 (diff) | |
boulder-oracle-sprint: Fixed #3053. Zoltan Arokszallasi contributed several
important patches. Thanks!
Also made Oracle test DB more generous, since we were
hitting INTIAL EXTENT errors trying to run the whole test suite.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@4726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/tzinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/tzinfo.py b/django/utils/tzinfo.py index cc9f028e91..abfe86cc7c 100644 --- a/django/utils/tzinfo.py +++ b/django/utils/tzinfo.py @@ -46,7 +46,7 @@ class LocalTimezone(tzinfo): return time.tzname[self._isdst(dt)] def _isdst(self, dt): - tt = (dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second, dt.weekday(), 0, -1) + tt = (dt.year, dt.month, dt.day, dt.hour, dt.minute, dt.second, 0, 0, -1) stamp = time.mktime(tt) tt = time.localtime(stamp) return tt.tm_isdst > 0 |
