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

Browser problems with EST/EDT Daylight saving #5

Open
Konsolate opened this issue Apr 20, 2022 · 2 comments
Open

Browser problems with EST/EDT Daylight saving #5

Konsolate opened this issue Apr 20, 2022 · 2 comments
Labels
help wanted Extra attention is needed needs info

Comments

@Konsolate
Copy link

9 EST is not 7 PST

@dommmel
Copy link
Owner

dommmel commented Apr 20, 2022

My first guess is this has something to to with daylight saving and how browsers handle it.
Did you convert from EST to PST or the other way round?

If it was mytime.io/9am/est could you try if mytime.io/9am/edt is correct?

The whole daylight saving time with javascript Date objects need some research. Will – as always – happily accept PRs.

EDIT: The US is on EDT currently

@dommmel dommmel changed the title Just Wrong Browser problems with EST/EDT Daylight saving Apr 22, 2022
@dommmel dommmel added help wanted Extra attention is needed needs info labels Apr 22, 2022
@dommmel
Copy link
Owner

dommmel commented Apr 22, 2022

Leaving a link here with relevant information on the matter including a possible lib (https://github.com/spencermountain/spacetime) to resolve it.
https://observablehq.com/@spencermountain/spacetime-daylight-savings-time?collection=@spencermountain/spacetime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed needs info
Projects
None yet
Development

No branches or pull requests

2 participants