From af094e2c2d042748cde68ee22d096475e373aa01 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sat, 8 Mar 2025 16:14:03 -0500 Subject: [PATCH] shorten time zone names --- utz | 2 +- watch-faces/clock/world_clock_face.c | 2 +- watch-faces/settings/set_time_face.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utz b/utz index c33f6fe2..24d8572f 160000 --- a/utz +++ b/utz @@ -1 +1 @@ -Subproject commit c33f6fe207cb4daeff0f12b8706c7bfdf8ab1408 +Subproject commit 24d8572fa0e2631d046aea5fe2197a8585a25c0c diff --git a/watch-faces/clock/world_clock_face.c b/watch-faces/clock/world_clock_face.c index 4b819ee4..2e8db394 100644 --- a/watch-faces/clock/world_clock_face.c +++ b/watch-faces/clock/world_clock_face.c @@ -169,7 +169,7 @@ static bool _world_clock_face_do_settings_mode(movement_event_t event, world_clo sprintf(buf, "%c%c %s", movement_valid_position_0_chars[state->settings.bit.char_0], movement_valid_position_1_chars[state->settings.bit.char_1], - (char *) (3 + zone_names + 11 * state->settings.bit.timezone_index)); + (char *) (zone_names + 8 * state->settings.bit.timezone_index)); watch_clear_indicator(WATCH_INDICATOR_PM); // blink up the parameter we're setting diff --git a/watch-faces/settings/set_time_face.c b/watch-faces/settings/set_time_face.c index 813d0b1a..c501956b 100644 --- a/watch-faces/settings/set_time_face.c +++ b/watch-faces/settings/set_time_face.c @@ -140,7 +140,7 @@ bool set_time_face_loop(movement_event_t event, void *context) { sprintf(buf, "%2d%02d ", hours % 100, minutes % 100); watch_set_colon(); } else { - sprintf(buf, "%s", (char *) (3 + zone_names + 11 * movement_get_timezone_index())); + sprintf(buf, "%s", (char *) (zone_names + 8 * movement_get_timezone_index())); watch_clear_colon(); } } else if (current_page < 4) {