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
This commit is contained in:
Adrian Holovaty 2005-10-20 13:13:55 +00:00
parent e4c844ffa0
commit a102942d7a
1 changed files with 1 additions and 1 deletions

View File

@ -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):