Subject: [Boost-bugs] [Boost C++ Libraries] #2904: boost::date_time io fails simple back-and-forth test
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-02 21:18:25
#2904: boost::date_time io fails simple back-and-forth test
------------------------------------------+---------------------------------
Reporter: mgl_at_[hidden] | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: date_time
Version: Boost 1.38.0 | Severity: Showstopper
Keywords: |
------------------------------------------+---------------------------------
set up a stringstream and use boost::io facets to specify a time format.
Sent a time_t from a known time through it to get a string (converting to
posix_time along the way), then back through to to get a time, and back
through to get a string. The string results should always match, and the
time_t results always match. Both tests fail.
stringstream>> operator does not seem to modify the supplied instance of
class boost::posix_time.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2904> 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:49:59 UTC