]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46659: calendar uses locale.getlocale() (GH-31166)
authorVictor Stinner <vstinner@python.org>
Mon, 7 Feb 2022 23:24:09 +0000 (00:24 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Feb 2022 23:24:09 +0000 (00:24 +0100)
commit7a0486eaa98083e0407ff491872db6d7a0da2635
tree6c8a06ae69a8caac5e4a2717f4f083f97a798dd5
parent7ba1cc8049fbcb94ac039ab02522f78177130588
bpo-46659: calendar uses locale.getlocale() (GH-31166)

The calendar.LocaleTextCalendar and calendar.LocaleHTMLCalendar
classes module now use locale.getlocale(), instead of using
locale.getdefaultlocale(), if no locale is specified.
Doc/library/calendar.rst
Doc/whatsnew/3.11.rst
Lib/calendar.py
Lib/test/test_calendar.py
Misc/NEWS.d/next/Library/2022-02-06-19-13-02.bpo-46659.q-vNL9.rst [new file with mode: 0644]