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
Hourly time is offset by 30 minutes in certain locations #32
Comments
There has been no activity on this issue for ninety days and unless you comment on the issue it will automatically close in seven days. |
Looks like this issue was missed but I tested and I can confirm that for fractional timezones the A city to test this with is St. John's, Newfoundland (47.486771,-52.751787) but you have to use tz=precise to demonstrate the issue otherwise the timezone is completely incorrect.
VS
I'll tag @alexander0042 so he can look into this. #74 seems to be a related issue to this one but was only fixed for time machine data. |
There has not been any activity on this issue in the last ninety and will automatically close in seven days. Comment on this issue to prevent this issue from closing automatically. |
Will bump this one last time. @alexander0042 maybe this can be sorted for the 2.0 release? |
Yup! Thanks for the bump. I've tagged it to keep it alive, Just to clarify here- is the issue that these locations always return the incorrect hourly times, or only when specific times are requested? |
I believe this was already fixed in the TimeMachine but when I request data for St. John's, Newfroundland all the times in the hourly block are off by 30m. The daily block returns the correct time so it's just something with the hourly section which isn't working correctly. I did a test query and the first block in the hourly section shows 1697144400 converts to Thursday October 12, 2023 18:30:00 (pm) in time zone America/St Johns (NDT) Here's the URL I used to call the API https://api.pirateweather.net/forecast/API/47.486771,-52.751787?units=ca&tz=precise. I'm sure other places with 15/45 minute time zones are off by the same amount. |
The classic Gander issue! Fixed this in 2.0i along with my other timezone bugs |
Did a quick test and can confirm that this is fixed so will close this issue. |
The text was updated successfully, but these errors were encountered: