From: Matheus Afonso Martins Moreira Date: Thu, 29 Aug 2024 01:46:49 +0000 (-0300) Subject: Merge PR #434 - fix leap years X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=663cd72;p=sensor-watch.git Merge PR #434 - fix leap years Improves handling of months in the Sensor Watch by computing whether the given year is a leap year. Reviewed-by: Matheus Afonso Martins Moreira GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/434 --- 663cd725f8e4c573f6d21fea7fa626e455f7ca5f diff --cc movement/watch_faces/settings/set_time_hackwatch_face.c index 166b26e,8ba56cb..2f4c034 --- a/movement/watch_faces/settings/set_time_hackwatch_face.c +++ b/movement/watch_faces/settings/set_time_hackwatch_face.c @@@ -137,7 -135,7 +135,7 @@@ bool set_time_hackwatch_face_loop(movem if (current_page != 2) // Do not set time when we are at seconds, it was already set previously watch_rtc_set_date_time(date_time_settings); break; -- ++ case EVENT_ALARM_LONG_UP://Setting seconds on long release switch (current_page) { case 2: // second