Boost C++ Libraries: Ticket #2627: Using operator "<<" with boost::posix_time::time_duration with duration over 24 hours causes crash https://svn.boost.org/trac10/ticket/2627 <p> Using MSVC 9.0, when using operator "&lt;&lt;" with boost::posix_time::time_duration with duration over 24 hours, I get the following assertion error at runtime: </p> <p> f:\dd\vctools\crt_bld\self_x86\crt\src\strftime.c(658) : Assertion failed: ( ( timeptr-&gt;tm_hour &gt;=0 ) &amp;&amp; ( timeptr-&gt;tm_hour &lt;= 23 ) ) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2627 Trac 1.4.3 Steven Watanabe Fri, 02 Jan 2009 17:04:38 GMT component changed; owner set https://svn.boost.org/trac10/ticket/2627#comment:1 https://svn.boost.org/trac10/ticket/2627#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">az_sw_dude</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">date_time</span> </li> </ul> Ticket Andrey Semashev Thu, 29 Jan 2009 19:10:56 GMT <link>https://svn.boost.org/trac10/ticket/2627#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2627#comment:2</guid> <description> <p> This should already be fixed in trunk and branches/release. The fix will be released in 1.38. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Thu, 04 Jun 2009 09:27:29 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2627#comment:3 https://svn.boost.org/trac10/ticket/2627#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicate for <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1861" title="#1861: Patches: time_duration type can not be correctly written or read of the period ... (closed: fixed)">#1861</a>. </p> Ticket