kmc-solid: SOLID_RTC_TIME::tm_mon
is 1-based
This commit is contained in:
parent
08df8b81d6
commit
175219ad0c
@ -21,7 +21,7 @@ pub fn now() -> SystemTime {
|
||||
tm_min: rtc.tm_min,
|
||||
tm_hour: rtc.tm_hour,
|
||||
tm_mday: rtc.tm_mday,
|
||||
tm_mon: rtc.tm_mon,
|
||||
tm_mon: rtc.tm_mon - 1,
|
||||
tm_year: rtc.tm_year,
|
||||
tm_wday: rtc.tm_wday,
|
||||
tm_yday: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user