Fwd: [Date_Time] time_from_string bug ?
30 Jun
2008
30 Jun
'08
8:01 p.m.
Hello, When I do std::cout << boost::posix_time::time_from_string ("2008-06-26 0"); output is 2008-Jun-26 00:00:00 But when I do std::cout << boost::posix_time::time_from_string ("2008-06-26"); output is 2008-Sep-17 16:06:26 Isn't a bug ? Even if this format is not accepted, should not it throw an exception ? J. Bedouet
5995
Age (days ago)
5995
Last active (days ago)
0 comments
1 participants
participants (1)
-
Judicaƫl Bedouet