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
Using a user-defined timezone set to UTC, the rise time is 1:24PM UTC and set time is 1:16AM UTC (next day). The solar noon time should be 7:20 PM, but instead shown as 7:20AM. When using the system timezone the solar noon time is correctly shown as 12:20PM, and when using other user-defined timezones (EST for example) the solar noon time is correctly shown in that timezone.
The text was updated successfully, but these errors were encountered:
...further investigation.. it is the sunset date that is incorrect - the time is right (so the issue is never noticed), but the date is set to today (when it should be tomorrow). The noon calculation finds the midpoint between the rise and sunset times and in this case the sunset time is off by a full 24hrs.
the sunset time is retrieved directly from sunrisesunsetlib - very possible the bug originates there. a workaround is to check if the sunset time falls before the rise time and if so add a day.
Using a user-defined timezone set to UTC, the rise time is 1:24PM UTC and set time is 1:16AM UTC (next day). The solar noon time should be 7:20 PM, but instead shown as 7:20AM. When using the system timezone the solar noon time is correctly shown as 12:20PM, and when using other user-defined timezones (EST for example) the solar noon time is correctly shown in that timezone.
The text was updated successfully, but these errors were encountered: