[3.0.x] Fixed #31029 -- Used more specific links to RFCs.

Backport of ff1b19da67 from master
This commit is contained in:
Baptiste Mispelon 2019-11-23 13:42:57 +01:00 committed by Mariusz Felisiak
parent c0fe08d470
commit 81ddf4b164
7 changed files with 24 additions and 21 deletions

View file

@ -1417,7 +1417,8 @@ Format character Description Example output
the "c" formatter will not add timezone
offset if value is a naive datetime
(see :class:`datetime.tzinfo`).
``r`` :rfc:`5322` formatted date. ``'Thu, 21 Dec 2000 16:01:07 +0200'``
``r`` :rfc:`RFC 5322 <5322#section-3.3>` ``'Thu, 21 Dec 2000 16:01:07 +0200'``
formatted date.
``U`` Seconds since the Unix Epoch
(January 1 1970 00:00:00 UTC).
================ ======================================== =====================