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
The timezone setting is being ignored when displaying 24 hour time.
It always displays using the system timezone, while displaying a mismatching label. Swapping timezones appears to do nothing, and if you aren't already aware of what the times are supposed to be beforehand, it makes it look like the calculation is completely wrong. If you are using a locale that toggles the 24hr time setting (de vs en), the problem appears to be locale dependent. Since custom timezone is off by default its not immediately noticeable.
using default lat/lon 35, -112...
System Settings -> Date & Time -> 24hr time -> on
System Settings -> Date & Time -> Select timezone -> America/New York
Suntimes App -> custom timezone -> America/Phoenix .. the reported sunrise time is ~ 08:45 (right time for new york, but is actually 5:45 in phoenix)
System Settings -> Date & Time -> 24hr time -> off
System Settings -> Date & Time -> Select timezone -> America/New York
Suntimes App -> custom timezone -> America/Phoenix .. the reported sunrise time is ~ 05:45 (right time)
The bug is present in v0.1.0, v0.1.1.
The text was updated successfully, but these errors were encountered:
looked just about everywhere trying to figure this out, and thought it was somehow locale related. its not. the timezone is correct right up to display. cause is a single line, a missing call to DateFormat.setTimeZone in the calendarTimeShortDisplayString method.
hrm. I'm not sure I like the way that commit automatically closed the issue. I guess I'll have to avoid the word "fix" - preference is to close issues after the fix is included in a release.
The timezone setting is being ignored when displaying 24 hour time.
It always displays using the system timezone, while displaying a mismatching label. Swapping timezones appears to do nothing, and if you aren't already aware of what the times are supposed to be beforehand, it makes it look like the calculation is completely wrong. If you are using a locale that toggles the 24hr time setting (de vs en), the problem appears to be locale dependent. Since custom timezone is off by default its not immediately noticeable.
using default lat/lon 35, -112...
System Settings -> Date & Time -> 24hr time -> on
System Settings -> Date & Time -> Select timezone -> America/New York
Suntimes App -> custom timezone -> America/Phoenix .. the reported sunrise time is ~ 08:45 (right time for new york, but is actually 5:45 in phoenix)
System Settings -> Date & Time -> 24hr time -> off
System Settings -> Date & Time -> Select timezone -> America/New York
Suntimes App -> custom timezone -> America/Phoenix .. the reported sunrise time is ~ 05:45 (right time)
The bug is present in v0.1.0, v0.1.1.
The text was updated successfully, but these errors were encountered: