isoWeek return wrong date.
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
nodejs: v22.11.0
dayjs: 1.11.13
script:
dayjs('2021-01-01').isoWeek(30).format('YYYY-MM-DD')
returns '2020-07-24'
dayjs('2021-01-02').isoWeek(30).format('YYYY-MM-DD')
returns '2020-07-25'
dayjs('2021-01-03').isoWeek(30).format('YYYY-MM-DD')
returns '2020-07-26'
dayjs('2021-01-04').isoWeek(30).format('YYYY-MM-DD')
'2021-07-26', start here, it seems ok.
**Information**
- Day.js v22.11.0
- [OS: [e.g. iOS]](nodejs: v22.11.0)
maybe i misunderstand the isoweek.
Contributor guide
Assessment
This issue has not been assessed yet.