8 Aug
2013
8 Aug
'13
7:46 a.m.
On Thu, Aug 8, 2013 at 11:13 AM, Matthijs Möhlmann
Hello all,
Following piece of program gives a std::out_of_range exception:
#include
int main(int argc, char **argv) {
boost::posix_time::ptime datetime; datetime = boost::posix_time::time_from_string("2012-5-29"); return 0; }
From the docs it seems you're missing time in the string:
http://www.boost.org/doc/libs/1_54_0/doc/html/date_time/posix_time.html#date... Search for time_from_string. I don't think this is a bug, although the exception could have been more descriptive.
Where can I officially report bugs?