Year 2038 problem in GHC 6.4.2 runtime
Ian Lynagh
igloo at earth.li
Mon Sep 25 08:41:58 EDT 2006
On Fri, Sep 22, 2006 at 04:16:44PM +0200, Cyril Schmidt wrote:
> As far as I can see, the current (6.4.2) GHC runtime
> suffers the year 2038 problem; that is, the System.Time
> module does not support dates from 2038 onwards
> (the code below reproduces the problem).
We inherit the problem from C's mktime, which returns a time_t, so this
is not trivial to fix. As Bulat says, I don't think the new time package
will suffer from this problem.
Thanks
Ian
More information about the Glasgow-haskell-users
mailing list