Skip to content

Commit

Permalink
pythongh-99728: correct typo in datetime format codes documentation (
Browse files Browse the repository at this point in the history
…pythonGH-99750)

(cherry picked from commit d5f8a2b)

Co-authored-by: Brad Wolfe <brad.wolfe@gmail.com>
  • Loading branch information
tbwolfe authored and miss-islington committed Dec 10, 2022
1 parent 9aca003 commit 0136fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2589,7 +2589,7 @@ Notes:

(9)
When used with the :meth:`strptime` method, the leading zero is optional
for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%J``, ``%U``,
for formats ``%d``, ``%m``, ``%H``, ``%I``, ``%M``, ``%S``, ``%j``, ``%U``,
``%W``, and ``%V``. Format ``%y`` does require a leading zero.

.. rubric:: Footnotes
Expand Down

0 comments on commit 0136fab

Please sign in to comment.