Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7868: chrono_io parses time incorrectly (1.53 and 1.52)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-07 11:28:33
#7868: chrono_io parses time incorrectly (1.53 and 1.52)
------------------------------------------+------------------------
Reporter: Johan Lundberg <lundberj@â¦> | Owner: viboes
Type: Bugs | Status: reopened
Milestone: Boost 1.55.0 | Component: chrono
Version: Boost 1.54.0 | Severity: Regression
Resolution: | Keywords:
------------------------------------------+------------------------
Changes (by viboes):
* milestone: Boost 1.54.0 => Boost 1.55.0
Comment:
You are right. The ticket is not completely fixed.
There was some comments in the time_point parsing input. The following
patch should solve this particular issue, but I gues that I would need to
complete the unit tets
{{{
Index: io/time_point_io.hpp
===================================================================
--- io/time_point_io.hpp (revision 84889)
+++ io/time_point_io.hpp (working copy)
@@ -255,9 +255,9 @@
// b = that_.get(b, e, iob, err, tm, fm, fm +
sizeof(fm)/sizeof(fm[0]));
// }
// break;
-// case 'S':
-// that_.get_second(tm->tm_sec, b, e, err, ct);
-// break;
+ case 'S':
+ get_second(tm->tm_sec, b, e, err, ct);
+ break;
// case 'T':
// {
// const char_type fm[] = {'%', 'H', ':', '%', 'M', ':',
'%', 'S'};
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7868#comment:7> 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:13 UTC