Fixed #26580 -- Updated references to obsolete RFC 2822.

Didn't rename django.utils.feedgenerator.rfc2822_date()
as some external code may rely on it.
This commit is contained in:
Vasiliy Faronov 2016-05-04 13:45:31 +03:00 committed by Tim Graham
parent 207c5b4acd
commit 31e0314979
3 changed files with 3 additions and 3 deletions

View file

@ -1352,7 +1352,7 @@ P Time, in 12-hour hours, minutes and ``'1 a.m.'``, ``'1:3
if they're zero and the special-case
strings 'midnight' and 'noon' if
appropriate. Proprietary extension.
r :rfc:`2822` formatted date. ``'Thu, 21 Dec 2000 16:01:07 +0200'``
r :rfc:`5322` formatted date. ``'Thu, 21 Dec 2000 16:01:07 +0200'``
s Seconds, 2 digits with leading zeros. ``'00'`` to ``'59'``
S English ordinal suffix for day of the ``'st'``, ``'nd'``, ``'rd'`` or ``'th'``
month, 2 characters.