Invalid DST for America/Santiago
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Seems like dayjs doesn't take into account that Chile's 2022 DST start is delayed from September 2 to September 11 (Internal Affairs Ministry of Chile informed the DST for America/Santiago to start at midnight on September 11 due to the vote on the new Constitution).

**Expected behavior**
Should return a string with the time `09:00`, but returns `2022-09-10T10:00:00-03:00` for `2022-09-10T13:00:00.000Z`
**Information**
- Day.js Version 1.11.5
- OS: all
- Browser all
- Time zone: America/Santiago
https://github.com/tzinfo/tzinfo-data/issues/22
Contributor guide
Research direction
Start by reproducing the America/Santiago conversion described for Day.js 1.11.5 and compare it with the linked tzinfo-data issue. Trace the timezone handling involved in that conversion; done means the 2022-09-10T13:00:00.000Z input produces the expected 09:00 result for the delayed Chilean DST start.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100