Skip to content

gh-131146: Fall back to month_name if standalone_month_names aren't distinct - #137674

Merged
encukou merged 2 commits into
python:mainfrom
encukou:%Ob
Aug 13, 2025
Merged

gh-131146: Fall back to month_name if standalone_month_names aren't distinct#137674
encukou merged 2 commits into
python:mainfrom
encukou:%Ob

Conversation

@encukou

@encukouencukou commented Aug 12, 2025

Copy link
Copy Markdown
Member

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.

…s aren't distinct
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.
@encukou

Copy link
Copy Markdown
MemberAuthor

@kulikjak, could you check on Solaris?

@kulikjak

Copy link
Copy Markdown
Contributor

Thanks! I did apply your change and it fixed the issue.

Comment threadLib/calendar.py Outdated
@encukou
encukou enabled auto-merge (squash) August 13, 2025 06:36
@encukou
encukou merged commit 639df39 into python:mainAug 13, 2025
42 checks passed
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
…s aren't distinct (pythonGH-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.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@encukou@kulikjak