Skip to content

Keep calendar and ISO week years separate when parsing - #135

Closed
Narek-Khachikyan wants to merge 1 commit into
d3:mainfrom
Narek-Khachikyan:fix/distinguish-iso-calendar-years
Closed

Narek-Khachikyan wants to merge 1 commit into
d3:mainfrom
Narek-Khachikyan:fix/distinguish-iso-calendar-years

Conversation

@Narek-Khachikyan

Copy link
Copy Markdown

Summary

Formatting 2018-12-31 as %Y-%m-%d %G produces 2018-12-31 2019, which previously parsed as 2019-12-31. Store the ISO week year separately so calendar dates and ISO weeks use their own year regardless of directive order.

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