Opened 14 years ago

Closed 13 years ago

#2627 closed Bugs (duplicate)

Using operator "<<" with boost::posix_time::time_duration with duration over 24 hours causes crash

Reported by: pacchang@… Owned by: az_sw_dude
Milestone: Boost 1.38.0 Component: date_time
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

Using MSVC 9.0, when using operator "<<" with boost::posix_time::time_duration with duration over 24 hours, I get the following assertion error at runtime:

f:\dd\vctools\crt_bld\self_x86\crt\src\strftime.c(658) : Assertion failed: ( ( timeptr->tm_hour >=0 ) && ( timeptr->tm_hour <= 23 ) )

Change History (3)

comment:1 by Steven Watanabe, 14 years ago

Component: Nonedate_time
Owner: set to az_sw_dude

comment:2 by Andrey Semashev, 14 years ago

This should already be fixed in trunk and branches/release. The fix will be released in 1.38.

comment:3 by Andrey Semashev, 13 years ago

Resolution: duplicate
Status: newclosed

Duplicate for #1861.

Note: See TracTickets for help on using tickets.