I am trying out the boost 1.30.0 date_time library and am quite pleased
with it.  I just came across a "feature" on which I would appreciate
some help.  There is an asymmetry when converting a ptime to/from a
simple string.  The to_simple_string(ptime) method will output
2002-Jan-01 10:00:01.123456789 but the time_from_string( const
std::string& ) methhod will choke on "Jan".  Is this a bug or a
feature?  I would like a symmetric pair of functions such that the
following code works and t1 == t0.

t1 = time_from_string( to_simple_string( t0 ) )

I appreciate any feedback.

Phil


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to