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-06-30 23:00:30
#7868: chrono_io parses time incorrectly (1.53 and 1.52)
------------------------------------------+------------------------
Reporter: Johan Lundberg <lundberj@â¦> | Owner: viboes
Type: Bugs | Status: reopened
Milestone: Boost 1.54.0 | Component: chrono
Version: Boost 1.54.0 | Severity: Regression
Resolution: | Keywords:
------------------------------------------+------------------------
Changes (by lundberj@â¦):
* status: closed => reopened
* version: Boost 1.52.0 => Boost 1.54.0
* resolution: fixed =>
* milestone: Boost 1.53.0 => Boost 1.54.0
Comment:
I'm sorry to say that the bug still remains with beta 1.54 (beta0).
Specifically the second part of the test code I posted, where the final
seconds are always the same, and do not reflect the real time.
Other formats, such as "%Y-%m- %S %d %H:%M" seems to quietly fail.
In addition, documentation for this seems to be missing (at least I could
not find it): What are the allowed markers (%S and friends) and what
syntax must a format string have? (such as this one for date_time_io:
http://www.boost.org/doc/libs/1_53_0/doc/html/date_time/date_time_io.html
)
As and example, I wanted to find out the syntax for manually defining the
default format, such as: 2013-06-30 20:01:15.584512 +0000 but I could not
find out how to specify the fractional seconds or the time zone mark.
Those are things a user should be able to find out.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7868#comment:6> 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