Boost logo

Boost Users :

Subject: [Boost-users] [date_time]utc_to_local crashes
From: Jan Deinhard (jan.deinhard_at_[hidden])
Date: 2009-01-12 08:24:51


Hi,

I get a crash calling utc_to_local with dates past 2038-Jan-19 03:14:07.

I'm compiling with Visual C++ 2005.

using namespace boost;

posix_time::ptime pt(gregorian::date(2038, 1, 19), posix_time::hours(3) +
posix_time::minutes(14) + posix_time::seconds(8));

date_time::c_local_adjustor<posix_time::ptime>::utc_to_local(pt);

Jan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net