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:
parent
7d574e8f76
commit
1484f2e225
|
@ -293,7 +293,7 @@ class TimeFormat:
|
||||||
return 'noon'
|
return 'noon'
|
||||||
return '%s %s' % (self.f(), self.a())
|
return '%s %s' % (self.f(), self.a())
|
||||||
|
|
||||||
def s(self, s):
|
def s(self):
|
||||||
"Seconds; i.e. '00' to '59'"
|
"Seconds; i.e. '00' to '59'"
|
||||||
return '%02d' % self.time.second
|
return '%02d' % self.time.second
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue