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
6213
Age (days ago)
6213
Last active (days ago)
4 comments
3 participants
participants (3)
-
Judicaƫl Bedouet