Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-06-13 17:25:58


Bugs item #1220011, was opened at 2005-06-13 15:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1220011&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: date_time
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jeff Garland (az_sw_dude)
Summary: local_adjustor::utc_to_local throws "Time label invalid"

Initial Comment:
using namespace boost::posix_time;
using namespace boost::date_time;
using namespace boost::gregorian;

ptime datetime( date( 2005, 4, 2 ), time_duration( 23, 0, 0
 ) );
typedef local_adjustor< ptime, 3, us_dst > adj;
ptime adj_time( adj::utc_to_local( datetime ) ); // Fails
with "Time label invalid"

Compiled on boost 1.32.0 with msvc++ 7.1.3088

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1220011&group_id=7586

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


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