Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels (and offsets) don't account for DST #1

Open
vdh opened this issue Jul 1, 2020 · 1 comment
Open

Labels (and offsets) don't account for DST #1

vdh opened this issue Jul 1, 2020 · 1 comment

Comments

@vdh
Copy link

vdh commented Jul 1, 2020

The labels and utc fields have a hard-coded UTC / GMT offset, but that offset changes depending on DST in some timezones.

E.g. New Zealand (Pacific/Auckland) changes between NZST (+12:00) and NZDT (+13:00) depending on DST. Having a label of (GMT+13:00) Auckland is going to be inaccurate for half of the year when Auckland is in NZST.

@vvo
Copy link

vvo commented Jul 9, 2020

Hey there, I made a similar package which I think might answer your need, have a look: https://github.com/vvo/tzdb/ let me know if this works for you!

@omsrivastava what do you think? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants