mirror of
https://github.com/django/django.git
synced 2025-09-19 00:40:11 +00:00
Fixed #5869 -- Corrected documentation for now
template tag's "r" format character. Thanks, xavier.morel@masklinn.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2a48fc5007
commit
0e59bf42cf
2 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ class DateFormat(TimeFormat):
|
|||
return u"%+03d%02d" % (seconds // 3600, (seconds // 60) % 60)
|
||||
|
||||
def r(self):
|
||||
"RFC 822 formatted date; e.g. 'Thu, 21 Dec 2000 16:01:07 +0200'"
|
||||
"RFC 2822 formatted date; e.g. 'Thu, 21 Dec 2000 16:01:07 +0200'"
|
||||
return self.format('D, j M Y H:i:s O')
|
||||
|
||||
def S(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue