tc39 / test262

Official ECMAScript Conformance Test Suite
Other
2.3k stars 456 forks source link

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

Open ptomato opened 1 month ago

ptomato commented 1 month ago

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: https://github.com/tc39/proposal-temporal/issues/2910

ptomato commented 4 weeks ago

Achieved consensus at TC39 plenary 2024-07-30.