Skip to content

Commit 68c01ef

Browse files
committed
bugfix allowing 0 in day field
1 parent 812f9fd commit 68c01ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/time.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ namespace menu {
146146

147147
popup.configure(
148148
"Day", t.day,
149-
0, klib::io::rtc::month_days[date.month] + is_leap_year_month,
149+
1, klib::io::rtc::month_days[date.month] + is_leap_year_month,
150150
[&](int32_t value){next(value);},
151151
[&](){cancel();}
152152
);

0 commit comments

Comments
 (0)