From 3c81ac91df91f5edccba0f27e5a7b780fc2986da Mon Sep 17 00:00:00 2001 From: CTCaer Date: Fri, 15 Oct 2021 16:50:16 +0300 Subject: [PATCH] nyx: fix months that have 30/31 days on date picker --- nyx/nyx_gui/frontend/gui_options.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/nyx/nyx_gui/frontend/gui_options.c b/nyx/nyx_gui/frontend/gui_options.c index 9615352..f35312e 100644 --- a/nyx/nyx_gui/frontend/gui_options.c +++ b/nyx/nyx_gui/frontend/gui_options.c @@ -605,9 +605,8 @@ static lv_res_t _action_clock_edit(lv_obj_t *btns, const char * txt) break; case 4: case 6: - case 8: - case 10: - case 12: + case 9: + case 11: if (day > 30) day = 30; break;