1
0
mirror of https://github.com/django/django.git synced 2025-02-23 07:55:07 +00:00

Fixed #207 -- thanks, Mathieu.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2005-07-26 14:26:15 +00:00
parent 7d574e8f76
commit 1484f2e225

View File

@ -293,7 +293,7 @@ class TimeFormat:
return 'noon'
return '%s %s' % (self.f(), self.a())
def s(self, s):
def s(self):
"Seconds; i.e. '00' to '59'"
return '%02d' % self.time.second