Skip to content

Anchor both timezone parser alternatives - #136

Closed
Narek-Khachikyan wants to merge 1 commit into
d3:mainfrom
Narek-Khachikyan:fix/anchor-timezone-offset-parsing
Closed

Narek-Khachikyan wants to merge 1 commit into
d3:mainfrom
Narek-Khachikyan:fix/anchor-timezone-offset-parsing

Conversation

@Narek-Khachikyan

Copy link
Copy Markdown

Summary

The signed-offset alternative can skip unmatched text: %Y-%m-%d %Z%M accepts 2020-01-01 x+0100. Anchor both alternatives at the current parser position so stray characters are rejected.

Evidence

The regression fails against the unchanged base and passes with this fix. Full test suite and lint pass.

Merge Danger

Door: Two-way. Blast Radius: Formatting.

@Narek-Khachikyan Narek-Khachikyan closed this by deleting the head repository Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant