From 34d72e3296242a8dbbd82a21943cdd555c590a80 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Mon, 28 Nov 2022 01:28:02 -0600 Subject: time set: allow setting year through 2050 --- movement/watch_faces/settings/set_time_face.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'movement/watch_faces') diff --git a/movement/watch_faces/settings/set_time_face.c b/movement/watch_faces/settings/set_time_face.c index af5421f1..1605f119 100644 --- a/movement/watch_faces/settings/set_time_face.c +++ b/movement/watch_faces/settings/set_time_face.c @@ -66,8 +66,8 @@ bool set_time_face_loop(movement_event_t event, movement_settings_t *settings, v date_time.unit.second = 0; break; case 3: // year - // only allow 2021-2030. fix this sometime next decade - date_time.unit.year = ((date_time.unit.year % 10) + 1); + // only allow 2021-2050. fix this if we make it that far. + date_time.unit.year = ((date_time.unit.year % 30) + 1); break; case 4: // month date_time.unit.month = (date_time.unit.month % 12) + 1; -- cgit v1.2.3