Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-03-29 04:44:27


Jeff Garland wrote:
> Ok, I've looked at it. It clearly looks like a DST related problem.
> I can't tell if it's a machine configuration problem or a library
> problem...I just know it's something boost date-time can't really
> fix. Essentially the problem is that std::local_time and
> std::gmtime are returning a time that's 1 hour ahead
> GetSystemTimeAsFileTime. So unless the owner of the machine can
> diagnose why this has started I guess we should mark this one as
> expected.

I can reproduce this here: the test fails with Borland 5.8.2 and 5.6.4 but
passes with msvc-8, intel-9.1 and mingw32. So it's a runtime library issue,
not a system one by the looks of it.

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk