← 输入框|github.com|刷新
Skip to content

gh-162812: fix strptime in locales with empty am and pm markers - #162813

Open
tonghuaroot wants to merge 1 commit into
python:mainfrom
tonghuaroot:fix-strptime-empty-ampm
Open

tonghuaroot wants to merge 1 commit into
python:mainfrom
tonghuaroot:fix-strptime-empty-ampm

Conversation

@tonghuaroot

@tonghuaroot tonghuaroot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

keep an empty locale marker from being read as pm.

An omitted period marker compares equal to an empty PM string. Require a nonempty marker before selecting the PM branch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant