Timezone 'Europe/London' is not working properly
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hi team,
I have used (dayjs().tz('Europe/London').startOf('year').format('YYYY-MM-DD')) method in my project. This method is not working properly with this tz. The output should be (2022-01-01) but I received (2021-01-01).
Can anyone suggest the solution? and Why this issue was occurred?. Thanks in advance
Note: Other timezones are working fine and same method working fine in codesandbox.
Contributor guide
Assessment
This issue has not been assessed yet.