We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SOLID_RTC_TIME::tm_mon
1 parent 08df8b8 commit 175219aCopy full SHA for 175219a
library/std/src/sys/solid/time.rs
@@ -21,7 +21,7 @@ impl SystemTime {
21
tm_min: rtc.tm_min,
22
tm_hour: rtc.tm_hour,
23
tm_mday: rtc.tm_mday,
24
- tm_mon: rtc.tm_mon,
+ tm_mon: rtc.tm_mon - 1,
25
tm_year: rtc.tm_year,
26
tm_wday: rtc.tm_wday,
27
tm_yday: 0,
0 commit comments