add not woking properly when DST involved
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
`dayjs("11-01-2022").tz("America/Boise", true).add(1, "month").toDate()`
`dayjs("12-01-2022").tz("America/Boise", true).toDate()`
Expected:
Should return same Value
Current:
Getting different values for both
Contributor guide
Research direction
The issue provides a reproducible pair of Day.js expressions using America/Boise, DST, and add(1, "month"), but names no files or tests. Start by running that reproduction and tracing the timezone and month-addition implementation. Done means both expressions produce the same value, with a regression test covering the case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100