Skip to content

Commit

Permalink
updateGraphViews
Browse files Browse the repository at this point in the history
fixes bug where sunlight dialog axis labels don't follow user settings (always 12 hour time). (#824)
  • Loading branch information
forrestguice committed Aug 19, 2024
1 parent ba754d9 commit eea5f92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ public void updateGraphViews(Context context)
options.timezone = WidgetTimezones.TZID_SUNTIMES.equals(tzId) ? data.timezone()
: WidgetTimezones.getTimeZone(tzId, data.location().getLongitudeAsDouble(), data.calculator());
}
options.is24 = (WidgetSettings.loadTimeFormatModePref(context, 0) == WidgetSettings.TimeFormatMode.MODE_24HR);
options.is24 = SuntimesUtils.is24();
}

long nowMillis = Calendar.getInstance().getTimeInMillis();
Expand Down

0 comments on commit eea5f92

Please sign in to comment.