Year 2038 problem in GHC 6.4.2 runtime
Cyril Schmidt
cschmidt at deds.nl
Fri Sep 22 10:16:44 EDT 2006
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).
Is this bug scheduled to be fixed in the near future (my
search in Trac yielded nothing) ?
Regards,
Cyril
___
The following code reproduces the problem with the Windows
distribution of GHC 6.4.2:
module Main where
import System.Time
main = putStrLn $ show $ toClockTime $
CalendarTime 2038 January 31 12 0 0 0 Sunday 0 "GMT" 0 False
More information about the Glasgow-haskell-users
mailing list