Skip to content

Commit

Permalink
kmc-solid: SOLID_RTC_TIME::tm_mon is 1-based
Browse files Browse the repository at this point in the history
  • Loading branch information
kawadakk committed Jan 31, 2022
1 parent 08df8b8 commit 175219a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/solid/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ impl 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,
Expand Down

0 comments on commit 175219a

Please sign in to comment.