]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-53203: Fix strptime() for %c, %x and %X formats on many locales (GH-125406...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Oct 2024 17:45:26 +0000 (19:45 +0200)
committerGitHub <noreply@github.com>
Mon, 14 Oct 2024 17:45:26 +0000 (17:45 +0000)
commitcbcdf34a4b69a28a7e31715423fb080cb5cf8075
tree510daaabcc649f7a83b26da87de84884bf8192f0
parent7966c7d69e43d2b946c5933f5249091466ba1f5e
[3.13] gh-53203: Fix strptime() for %c, %x and %X formats on many locales (GH-125406) (GH-125454)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.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]