summaryrefslogtreecommitdiff
path: root/firmware/common/timefuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/timefuncs.c')
-rw-r--r--firmware/common/timefuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/timefuncs.c b/firmware/common/timefuncs.c
index e682454ce2..9d56126b17 100644
--- a/firmware/common/timefuncs.c
+++ b/firmware/common/timefuncs.c
@@ -34,7 +34,7 @@ bool valid_time(struct tm *tm)
34 tm->tm_min < 0 || tm->tm_min > 59 || 34 tm->tm_min < 0 || tm->tm_min > 59 ||
35 tm->tm_year < 100 || tm->tm_year > 199 || 35 tm->tm_year < 100 || tm->tm_year > 199 ||
36 tm->tm_mon < 0 || tm->tm_mon > 11 || 36 tm->tm_mon < 0 || tm->tm_mon > 11 ||
37 tm->tm_wday < 1 || tm->tm_wday > 7 || 37 tm->tm_wday < 0 || tm->tm_wday > 6 ||
38 tm->tm_mday < 1 || tm->tm_mday > 31) 38 tm->tm_mday < 1 || tm->tm_mday > 31)
39 return false; 39 return false;
40 else 40 else