]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-99728: correct typo in `datetime` format codes documentation (GH-99750)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 10 Dec 2022 10:29:04 +0000 (02:29 -0800)
committerGitHub <noreply@github.com>
Sat, 10 Dec 2022 10:29:04 +0000 (02:29 -0800)
(cherry picked from commit d5f8a2b6ad408368e728a389da918cead3ef7ee9)

Co-authored-by: Brad Wolfe <brad.wolfe@gmail.com>
Doc/library/datetime.rst

index 8a7d99999f5dbd7f26364226fab66575f65325d4..e700b0a1347a7b097ec2f8bfa24a93fc704e7495 100644 (file)
@@ -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