[Boost-bugs] [Boost C++ Libraries] #3126: boost::format in debug build is no longer able to format time_duration with hours >= 100, as of svn rev 49874

Subject: [Boost-bugs] [Boost C++ Libraries] #3126: boost::format in debug build is no longer able to format time_duration with hours >= 100, as of svn rev 49874
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-03 10:01:09


#3126: boost::format in debug build is no longer able to format time_duration with
hours >= 100, as of svn rev 49874
----------------------------------+-----------------------------------------
 Reporter: mbd_at_[hidden] | Owner: samuel_krempp
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: format
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: format time_duration |
----------------------------------+-----------------------------------------
 https://svn.boost.org/trac/boost/changeset/49874 breaks boost::format's
 ability to format a time_duration if it has more than 99 hours.

 It is unclear from the docs whether this is intended behaviour or not. I
 believe it is because boost::format uses the default time_facet format of
 "%H:%M:%S%F". Had it been using "%O:%M:%S%F", I think there would have
 been no breakage(?)

 The attached minimal program illustrates the problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3126>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC