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

Temporal: Tests for corner case in TZDB involving DST transition in 1919 #4158

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

ptomato
Copy link
Contributor

@ptomato ptomato commented Jul 16, 2024

These tests add coverage for a corner case in the TZDB. In spring 1919, the America/Toronto time zone switched to DST at 23:30 on March 30th, skipping an hour ahead to 00:30 on March 31st. This meant that both March 30th and March 31st were 23.5-hour days.

See: tc39/proposal-temporal#2910

@ptomato
Copy link
Contributor Author

ptomato commented Jul 30, 2024

Achieved consensus at TC39 plenary 2024-07-30.

@ptomato ptomato added the has consensus This has committee consensus label Jul 30, 2024
@ptomato ptomato force-pushed the temporal-2910-tzdb-edge-case branch from 87add44 to 770fd71 Compare July 30, 2024 22:24
@ptomato ptomato removed the awaiting consensus This needs committee consensus before it can be eligible to be merged. label Jul 30, 2024
These tests add coverage for a corner case in the TZDB. In spring 1919,
the America/Toronto time zone switched to DST at 23:30 on March 30th,
skipping an hour ahead to 00:30 on March 31st. This meant that both March
30th and March 31st were 23.5-hour days.

See: tc39/proposal-temporal#2910
@ptomato ptomato merged commit d9b1079 into tc39:main Sep 5, 2024
8 checks passed
@ptomato ptomato deleted the temporal-2910-tzdb-edge-case branch September 5, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has consensus This has committee consensus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants