diff options
| author | Vasiliy Faronov <vfaronov@gmail.com> | 2016-05-04 13:45:31 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-10 11:24:51 -0400 |
| commit | 31e0314979f6aa1c66828b55dd222c32aad94e9e (patch) | |
| tree | 7c177011f9226150f3575311fa2933cbfbd90b9f /django/utils/dateformat.py | |
| parent | 207c5b4acd410dd39bac31457dae26a0d15b8b93 (diff) | |
Fixed #26580 -- Updated references to obsolete RFC 2822.
Didn't rename django.utils.feedgenerator.rfc2822_date()
as some external code may rely on it.
Diffstat (limited to 'django/utils/dateformat.py')
| -rw-r--r-- | django/utils/dateformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index f82e0098b8..5e39648343 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -293,7 +293,7 @@ class DateFormat(TimeFormat): return self.data.isocalendar()[0] def r(self): - "RFC 2822 formatted date; e.g. 'Thu, 21 Dec 2000 16:01:07 +0200'" + "RFC 5322 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): |
