From: Brad Wolfe Date: Sat, 10 Dec 2022 10:20:18 +0000 (+0100) Subject: gh-99728: correct typo in `datetime` format codes documentation (#99750) X-Git-Tag: v3.12.0a4~239 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5f8a2b6ad408368e728a389da918cead3ef7ee9;p=thirdparty%2FPython%2Fcpython.git gh-99728: correct typo in `datetime` format codes documentation (#99750) --- diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 0b39512a2d23..8bfed19d3fd2 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -2602,7 +2602,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