Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop trimming "redundant" trailing transitions. #281

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

devbww
Copy link
Contributor

@devbww devbww commented Dec 23, 2023

Even when the last two transitions share a type, we should not discard the last transition as that might change the point at which we start to apply the POSIX spec for future transitions.

This will start to make a difference in zoneinfo files compiled using the 2023d zic for Antarctica/Macquarie, Europe/Riga, Europe/Tallinn, Europe/Vilnius, and Pacific/Norfolk, where we previously would have added daylight-time transitions in years where they did not really apply.

Even when the last two transitions share a type, we should not
discard the last transition as that might change the point at
which we start to apply the POSIX spec for future transitions.

This will start to make a difference in zoneinfo files compiled
using the 2023d zic for Antarctica/Macquarie, Europe/Riga,
Europe/Tallinn, Europe/Vilnius, and Pacific/Norfolk, where we
previously would have added daylight-time transitions in years
where they did not really apply.
@devbww devbww marked this pull request as ready for review December 23, 2023 05:28
@devbww devbww merged commit 2878b41 into google:master Dec 26, 2023
5 checks passed
@devbww devbww deleted the redundant-transitions branch December 26, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants