$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Philip Miller (pwmiller_at_[hidden])
Date: 2003-06-26 13:35:26
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