Fix set_time_face erroneously setting the local time when changing timezone

This commit is contained in:
Alessandro Genova 2025-07-29 00:27:16 -04:00 committed by Joey Castillo
parent 145fc168b1
commit 9121c0cfb8

View File

@ -44,7 +44,7 @@ static void _handle_alarm_button(watch_date_time_t date_time, uint8_t current_pa
movement_set_timezone_index(movement_get_timezone_index() + 1);
if (movement_get_timezone_index() >= NUM_ZONE_NAMES) movement_set_timezone_index(0);
current_offset = movement_get_current_timezone_offset_for_zone(movement_get_timezone_index());
break;
return;
case 0: // year
date_time.unit.year = ((date_time.unit.year % 60) + 1);
break;