diff options
Diffstat (limited to 'src/libstddjb/localtm_from_utc.c')
-rw-r--r-- | src/libstddjb/localtm_from_utc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/localtm_from_utc.c b/src/libstddjb/localtm_from_utc.c index cbf6f31..55e9c5e 100644 --- a/src/libstddjb/localtm_from_utc.c +++ b/src/libstddjb/localtm_from_utc.c @@ -7,5 +7,5 @@ int localtm_from_utc (struct tm *l, uint64_t u, int tz) { if (!ltm64_from_utc(&u)) return 0 ; - return localtm_from_ltm64(l, u, tz) ; + return localtm_from_ltm64(l, u, !!tz) ; } |