]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-53203: Fix strptime() for %c, %x and %X formats on many locales (GH-125406...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 14 Oct 2024 20:59:01 +0000 (23:59 +0300)
committerGitHub <noreply@github.com>
Mon, 14 Oct 2024 20:59:01 +0000 (20:59 +0000)
commit92908681557308baa60f86d9ed24c132debfc35b
treeb2da3df5624a07235515864da05abdbdcb54f36d
parentf1a6f687774ca09255c48d76deb060bd09c8e1ca
[3.12] gh-53203: Fix strptime() for %c, %x and %X formats on many locales (GH-125406) (GH-125454) (GH-125483)

Fixed most locales that use non-ASCII digits, like Persian, Burmese,
Odia and Shan.
(cherry picked from commit 5f4e5b598cab86d5fd5727d423c9728221889ed0)

(cherry picked from commit cbcdf34a4b69a28a7e31715423fb080cb5cf8075)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Lib/_strptime.py
Lib/test/test_strptime.py
Lib/test/test_time.py
Misc/NEWS.d/next/Library/2024-10-13-20-21-35.gh-issue-53203.Rz1c8A.rst [new file with mode: 0644]