You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, I ended up not using this lib because the API is IMO wrong to determine accurate local sunrise and sunset. The API needs to know the original time zone which corresponds to the lat and lon. This is not available using just a Date object.
It seems that the dates are 1 day in the future if the local time is the next day UTC.
Not sure if this is the same problem as reported in #24?
Here is a complete test. Note that the reported times are one day in the future from the correct times.
The results of the test are:
The text was updated successfully, but these errors were encountered: