[Haskell-cafe] Working with multiple time zones

Daniel Fischer daniel.is.fischer at web.de
Sun Feb 17 13:22:49 EST 2008


Am Sonntag, 17. Februar 2008 17:26 schrieb Daniel Fischer:
>
> Looking at the code in HsTime.c, it might be a difference between localtime
> and localtime_r.
>

Indeed, mucking about a bit with HsTime.c, so that either 
a) localtime is called instead of localtime_r 
or
b) tzset() is done before localtime_r, 
it works as it should (on my box at least).

Cheers,
Daniel



More information about the Haskell-Cafe mailing list