From: Alessandro Genova Date: Tue, 29 Jul 2025 04:27:16 +0000 (-0400) Subject: Fix set_time_face erroneously setting the local time when changing timezone X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=9121c0cfb85006165f7c73ab93a9b64d919d1295;p=sensor-watch.git Fix set_time_face erroneously setting the local time when changing timezone --- diff --git a/watch-faces/settings/set_time_face.c b/watch-faces/settings/set_time_face.c index 1bcf212..63fc34f 100644 --- a/watch-faces/settings/set_time_face.c +++ b/watch-faces/settings/set_time_face.c @@ -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;