Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit a102942d7aaf964fc4995a30eb62a042dbb5cc73 1 parent e4c844f
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/utils/dateformat.py
View
2  django/utils/dateformat.py
@@ -97,7 +97,7 @@ def s(self):
"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):
Please sign in to comment.
Something went wrong with that request. Please try again.