Boost logo

Boost Users :

From: Jeff Garland (jeff_at_[hidden])
Date: 2003-07-08 07:56:35


On Tue, 08 Jul 2003 12:07:24 +0100, Russell Hind wrote
> These 2 functions don't seem to work together.
>
> to_simple_string will produce a string such as
>
> 2003-Jul-08 11:55:47
>
> But time_from_string expects
>
> 2003-07-08 11:55:47
>
> This means you can't convert to a string (to store in a text file)
> then read back in and convert it back to a ptime.
>
> Is this a bug, or have I missed a conversion function that can
> handle this?

No, this was brought up recently on the developer list. Take
a look at this message from the archive:

http://aspn.activestate.com/ASPN/Mail/Message/1686681

Jeff


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net