]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-152305: Fix `_pydatetime.time.strftime()` raising on year directives (#152306)
authortonghuaroot (童话) <tonghuaroot@gmail.com>
Sat, 27 Jun 2026 15:07:32 +0000 (23:07 +0800)
committerGitHub <noreply@github.com>
Sat, 27 Jun 2026 15:07:32 +0000 (16:07 +0100)
commit5733361fdd85519c931e67fd7cab0ff3a11b8ec0
treed7b0da29940a4a83d8c0d05a9da9a8250ef0cd2e
parenta9fa8560143098168e0380386acbf4846c37472b
gh-152305: Fix `_pydatetime.time.strftime()` raising on year directives (#152306)

Co-authored-by: Stan Ulbrych <stan@python.org>
Lib/_pydatetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2026-06-26-15-41-34.gh-issue-152305.WnbbBc.rst [new file with mode: 0644]