@@ -434,10 +434,10 @@ Functions
434
434
| | negative time difference from UTC/GMT of the | |
435
435
| | form +HHMM or -HHMM, where H represents decimal| |
436
436
| | hour digits and M represents decimal minute | |
437
- | | digits [-23:59, +23:59]. | |
437
+ | | digits [-23:59, +23:59]. [ 1 ]_ | |
438
438
+-----------+------------------------------------------------+-------+
439
439
| ``%Z `` | Time zone name (no characters if no time zone | |
440
- | | exists). | |
440
+ | | exists). Deprecated. [ 1 ]_ | |
441
441
+-----------+------------------------------------------------+-------+
442
442
| ``%% `` | A literal ``'%' `` character. | |
443
443
+-----------+------------------------------------------------+-------+
@@ -458,7 +458,7 @@ Functions
458
458
calculations when the day of the week and the year are specified.
459
459
460
460
Here is an example, a format for dates compatible with that specified in the
461
- :rfc: `2822 ` Internet email standard. [# ]_ ::
461
+ :rfc: `2822 ` Internet email standard. [1 ]_ ::
462
462
463
463
>>> from time import gmtime, strftime
464
464
>>> strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime())
@@ -879,10 +879,9 @@ Timezone Constants
879
879
880
880
.. rubric :: Footnotes
881
881
882
- .. [# ] The use of ``%Z `` is now deprecated, but the ``%z `` escape that expands to the
883
- preferred hour/minute offset is not supported by all ANSI C libraries. Also, a
882
+ .. [1 ] The use of ``%Z `` is now deprecated, but the ``%z `` escape that expands to the
883
+ preferred hour/minute offset is not supported by all ANSI C libraries. Also, a
884
884
strict reading of the original 1982 :rfc: `822 ` standard calls for a two-digit
885
- year (%y rather than %Y ), but practice moved to 4-digit years long before the
885
+ year (`` %y `` rather than `` %Y `` ), but practice moved to 4-digit years long before the
886
886
year 2000. After that, :rfc: `822 ` became obsolete and the 4-digit year has
887
887
been first recommended by :rfc: `1123 ` and then mandated by :rfc: `2822 `.
888
-
0 commit comments