Opened 17 years ago

Closed 16 years ago

#409 closed Bugs (Invalid)

local_adjustor::utc_to_local throws "Time label invalid"

Reported by: nobody Owned by: az_sw_dude
Milestone: Component: date_time
Version: None Severity:
Keywords: Cc:

Description

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

Change History (3)

comment:1 by nobody, 17 years ago

Logged In: NO 

Sorry, i was wrong. My mistake. Please remove this bug (or 
mark as invalid).

comment:2 by nobody, 17 years ago

Logged In: NO 

Sorry, i was wrong. My mistake. Please remove this bug (or 
mark as invalid).

comment:3 by az_sw_dude, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=579686

I'm unable to reproduce this one -- requestor also notes
that he was wrong.  Closing.

Jeff
Note: See TracTickets for help on using tickets.