[GHC] #1486: utcToLocalTime converting in the wrong direction
on Windows
GHC
trac at galois.com
Mon Jul 9 11:10:07 EDT 2007
#1486: utcToLocalTime converting in the wrong direction on Windows
----------------------------------+-----------------------------------------
Reporter: Olivier Boudry | Owner:
Type: bug | Status: new
Priority: normal | Milestone: Not GHC
Component: libraries (other) | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Windows | Testcase:
Architecture: x86 |
----------------------------------+-----------------------------------------
Comment (by Olivier Boudry):
I finally managed to compile the time module with GHC-6.6.1. I modified it
(line 25 of attached HsTime.c file) as proposed in the previous comment.
I tested it changing my timezone for a set of negatives and positives time
zones and always got the same time as displayed by Windows' clock. The fix
seems to work and the bug was due to Win32 counting reverse as other OS.
Cheers,
Olivier.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1486>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list