From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 10 Dec 2022 10:29:04 +0000 (-0800) Subject: gh-99728: correct typo in `datetime` format codes documentation (GH-99750) X-Git-Tag: v3.11.2~182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=606adb4b891b52c8b9a53d29d594e996f117c0b3;p=thirdparty%2FPython%2Fcpython.git gh-99728: correct typo in `datetime` format codes documentation (GH-99750) (cherry picked from commit d5f8a2b6ad408368e728a389da918cead3ef7ee9) Co-authored-by: Brad Wolfe --- diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 8a7d99999f5d..e700b0a1347a 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -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