stdevice::time,fixed a bug where a error deal with month calculation.

This commit is contained in:
onceday 2022-06-04 14:57:42 +08:00
parent 130deafa01
commit 0ee437b461

View File

@ -241,6 +241,7 @@ status unix_time_to_utc_struct_time(_tm* this_tm,int64_t unix_time)
}
else
{
total_day -= 31;
//2月
temp = 1;
}