Fix set_time_face erroneously setting the local time when changing timezone
This commit is contained in:
parent
145fc168b1
commit
9121c0cfb8
@ -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);
|
movement_set_timezone_index(movement_get_timezone_index() + 1);
|
||||||
if (movement_get_timezone_index() >= NUM_ZONE_NAMES) movement_set_timezone_index(0);
|
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());
|
current_offset = movement_get_current_timezone_offset_for_zone(movement_get_timezone_index());
|
||||||
break;
|
return;
|
||||||
case 0: // year
|
case 0: // year
|
||||||
date_time.unit.year = ((date_time.unit.year % 60) + 1);
|
date_time.unit.year = ((date_time.unit.year % 60) + 1);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user