]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-131146: Fall back to `month_name` if `standalone_month_name`s aren't distinct...
authorPetr Viktorin <encukou@gmail.com>
Wed, 13 Aug 2025 07:03:05 +0000 (09:03 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Aug 2025 07:03:05 +0000 (07:03 +0000)
commit639df39bf0b7e1172ebc4df84c1ae097ea7c0c22
treedd52bec6216277c1d5b202d46482e595119ff4ee
parent797c2c33e181badc053f76c58b49e01ccc9a2163
gh-131146: Fall back to `month_name` if `standalone_month_name`s aren't distinct (GH-137674)

Some systems reportedly don't expand '%OB' and '%Ob'.
In this case (and similar theoretically possible ones, like expanding to empty
string or 'OB'), fall back to the month_name & month_abbr.
Lib/calendar.py