mytime.io
mytime.io copied to clipboard
Browser problems with EST/EDT Daylight saving
9 EST is not 7 PST
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
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