Skip to content

Commit fa4d19c

Browse files
committed
Remove from time doc
1 parent bb92e82 commit fa4d19c

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

Doc/library/time.rst

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,6 @@ Functions
533533
| ``%Z`` | Time zone name (no characters if no time zone | |
534534
| | exists). Deprecated. [1]_ | |
535535
+-----------+------------------------------------------------+-------+
536-
| ``%:z`` | Behaves exactly as ``%z``, but has a colon | \(5) |
537-
| | separator added between hours, minutes and | |
538-
| | seconds. | |
539-
+-----------+------------------------------------------------+-------+
540536
| ``%G`` | ISO 8601 year (similar to ``%Y`` but follows | |
541537
| | the rules for the ISO 8601 calendar year). | |
542538
| | The year starts with the week that contains | |
@@ -573,16 +569,6 @@ Functions
573569
When used with the :func:`strptime` function, ``%U`` and ``%W`` are only used in
574570
calculations when the day of the week and the year are specified.
575571

576-
(5)
577-
When used with :func:`strftime`, behaves exactly as ``%z``, except that
578-
a colon separator is added between hours, minutes and seconds.
579-
580-
When used with :func:`strptime`, the UTC offset is *required* to have a
581-
colon as a separator between hours, minutes and seconds.
582-
For example, ``'+01:00:00'`` (but *not* ``'+010000'``) will be parsed as
583-
an offset of one hour. In addition, providing ``'Z'`` is identical to
584-
``'+00:00'``.
585-
586572
Here is an example, a format for dates compatible with that specified in the
587573
:rfc:`2822` Internet email standard. [1]_ ::
588574

@@ -600,12 +586,6 @@ Functions
600586
this is also not portable. The field width is normally 2 except for ``%j`` where
601587
it is 3.
602588

603-
.. versionadded:: 3.12
604-
``%:z`` was added for :func:`strftime`
605-
606-
.. versionadded:: next
607-
``%:z`` was added for :func:`strptime`
608-
609589

610590
.. index::
611591
single: % (percent); datetime format

0 commit comments

Comments
 (0)