chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.73k stars 1.11k forks source link

Daylight Saving Time switched early #588

Open Gitcrashed opened 3 years ago

Gitcrashed commented 3 years ago

It is currently 7pm 2021/13March at gps 41.87,-87.95 and DST starts at 2am tomorrow. However the sunset and dusk times being returned by wttr.in are an hour later than they should be. It looks like the switch to DST had happened a few hours early.

chubin commented 3 years ago

What about current time? Was it return correctly?

Gitcrashed commented 3 years ago

Unfortunately I won't be able to answer that until next year because I don't ask for current time. I ask for temperature, dawn, sunrise, dusk, and sunset and use the times to control some lights and camera modes.

I noticed that the lights had not switched so I checked the data being returned and the times were an hour off. Of course now that the clocks have changed everything is fine.

-Gordon

On Mon, Mar 15, 2021, 3:02 PM Igor Chubin @.***> wrote:

What about current time? Was it return correctly?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chubin/wttr.in/issues/588#issuecomment-799713069, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARWERXBEKCWHHGYA6LIMACDTDZRTNANCNFSM4ZENAO3Q .

chubin commented 3 years ago

If we know the date, and the time, and the location, and the timezone, we can check it the timezone data is correct

Gitcrashed commented 3 years ago

I'm at work right now but I'll send you the exact query when I get home.

On Mon, Mar 15, 2021, 3:12 PM Igor Chubin @.***> wrote:

If we know the date, and the time, and the location, and the timezone, we can check it the timezone data is correct

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chubin/wttr.in/issues/588#issuecomment-799719176, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARWERXAL2SB6NWCNEYMNH6TTDZSZBANCNFSM4ZENAO3Q .

Gitcrashed commented 3 years ago

OK. On 13 March 2021 at 1900 local (CST America/Chicago) I sent this: http://wttr.in/41.87,-87.95?u&format=%t!%D!%S!%s!%d and was getting times that were an hour later than they should have been.

On Mon, Mar 15, 2021 at 3:26 PM Gordon Hlavenka @.***> wrote:

I'm at work right now but I'll send you the exact query when I get home.

On Mon, Mar 15, 2021, 3:12 PM Igor Chubin @.***> wrote:

If we know the date, and the time, and the location, and the timezone, we can check it the timezone data is correct

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chubin/wttr.in/issues/588#issuecomment-799719176, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARWERXAL2SB6NWCNEYMNH6TTDZSZBANCNFSM4ZENAO3Q .

-- Gordon S. Hlavenka

chubin commented 3 years ago

Maybe it was not even related to day-light switch at all, because it happened a week later, if I understand it right. Anyway, thank you for reporting