Re: [Boost-bugs] [Boost C++ Libraries] #7868: chrono_io parses time incorrectly (1.53 and 1.52)

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-09-15 16:21:10


#7868: chrono_io parses time incorrectly (1.53 and 1.52)
------------------------------------------+------------------------
  Reporter: Johan Lundberg <lundberj@…> | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: Boost 1.55.0 | Component: chrono
   Version: Boost 1.54.0 | Severity: Regression
Resolution: fixed | Keywords:
------------------------------------------+------------------------

Comment (by viboes):

 Replying to [comment:10 Johan Lundberg <lundberj@…>]:
> Great! It also passes my tests.
>
> A while back I reported compiler warnings on initializing the tm struct.
 The preferred solution at other places
 (https://svn.boost.org/trac/boost/changeset/80797/branches/release/boost/date_time/date_facet.hpp)
 is
>
> std::tm dtm;
> std::memset(&dtm, 0, sizeof(dtm));
>
> That also initialize any allowed but unspecified members in addition to
 the ones required by the standard.

 Please create a new bug ticket for that. I will fix it.

> I still miss the fractional seconds part. Perhaps this is a feature-
 request, but that would make it possible to make full use of these
 facilities in a much wider range of applications. It would also allow to
 manually specify variants of the default format which does have fractional
 seconds, "1970-01-01 00:02:46.666667 +0000".

 Please create a new feature request for any changes you need.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7868#comment:11>
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:14 UTC