diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-10-20 13:13:55 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-10-20 13:13:55 +0000 |
| commit | a102942d7aaf964fc4995a30eb62a042dbb5cc73 (patch) | |
| tree | 119dd1650b45f04fcdbc06b7de8dcef15e8d125e /django | |
| parent | e4c844ffa0362b3f87a0b189c6f985cd7a26a271 (diff) | |
Fixed #654 -- Fixed bug in [969]. Thanks, korpios@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
| -rw-r--r-- | django/utils/dateformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index 01903825d4..3620558f09 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -97,7 +97,7 @@ class TimeFormat(Formatter): "Seconds; i.e. '00' to '59'" return '%02d' % self.data.second -class DateFormat(Formatter): +class DateFormat(TimeFormat): year_days = [None, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334] def __init__(self, d): |
