mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 04:05:05 +00:00
__time_to_tm: initialize tm_zone and tm_gmtoff
This commit is contained in:
parent
8d3ee05754
commit
a6752eb940
@ -76,6 +76,8 @@ struct tm *__time_to_tm(time_t t, struct tm *tm)
|
||||
tm->tm_year= year;
|
||||
tm->tm_wday= wday;
|
||||
tm->tm_yday= yday;
|
||||
tm->__tm_zone = 0;
|
||||
tm->__tm_gmtoff = 0;
|
||||
|
||||
return tm;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user