We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc75ed commit a51dad6Copy full SHA for a51dad6
Doc/library/datetime.rst
@@ -2772,7 +2772,7 @@ Notes:
2772
non-zero-padded output, except for ``%-y`` on Apple platforms, which is still
2773
zero-padded.
2774
2775
-(11)
+(10)
2776
When parsing a month and day using :meth:`~.datetime.strptime`, always
2777
include a year in the format. If the value you need to parse lacks a year,
2778
append an explicit dummy leap year. Otherwise your code will raise an
0 commit comments