Skip to content

Commit

Permalink
gh-99728: correct typo in datetime format codes documentation (GH-9…
Browse files Browse the repository at this point in the history
…9750)

(cherry picked from commit d5f8a2b)

Co-authored-by: Brad Wolfe <brad.wolfe@gmail.com>
  • Loading branch information
miss-islington and tbwolfe authored Dec 10, 2022
1 parent 9aca003 commit 606adb4
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 606adb4

Please sign in to comment.