time: fix incorrect DST offset when using POSIX timezones without DST
[musl.git] / src / time / localtime.c
blobbb6718c33ff27afa636b6acfbfa89cb5840878f1
1 #include "time_impl.h"
3 struct tm *__localtime_r(const time_t *restrict, struct tm *restrict);
5 struct tm *localtime(const time_t *t)
7 static struct tm tm;
8 return __localtime_r(t, &tm);