iamkun / iamkun/dayjs

Timezone DB Bug

Open
#2,121 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I'm not sure if this is a day.js bug or a native browser Internationalization API bug, but the time zone database seems to be out of date.

For example, if you apply the following timezone in day.js

dayjs.tz('2022-11-08 13:00:00', 'America/Ojinaga')

You will get an offset of UTC -7.

**Expected behavior**

The offset should be UTC -6.

https://timezonedb.com/time-zones/America/Ojinaga

(They city of Ciudad Juárez, Mexico recently changed this)

If day.js is not the proper place to report this bug, do you know where to file a bug report for the Internationalization API?

**Information**
- Day.js Version: 1.11.6
- OS: All
- Browser 107.0.5304.107 (Official Build) (64-bit)
- Time zone: 11/9/2022 6:51 AM EST

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.