mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
stdevice::time,fixed a bug where a error deal with month calculation.
This commit is contained in:
parent
130deafa01
commit
0ee437b461
@ -241,6 +241,7 @@ status unix_time_to_utc_struct_time(_tm* this_tm,int64_t unix_time)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
total_day -= 31;
|
||||||
//2月
|
//2月
|
||||||
temp = 1;
|
temp = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user