id summary reporter owner description type status milestone component version severity resolution keywords cc 13280 """20170101"" gives surprising result parsed as extended ISO 8601" Thomas Guest James E. King, III "{{{ #include #include #include #include int main() { std::string value = ""20170105""; boost::gregorian::date d; auto * f = new boost::gregorian::date_input_facet(); f->set_iso_extended_format(); std::stringstream ss; std::locale loc(std::locale::classic(), f); ss.imbue(loc); ss << value; ss >> d; std::cout << value << "" => "" << d << '\n'; return 0; } }}} When I run this I get: 20170105 => 2017-Oct-01 I expected an exception to be raised." Bugs closed To Be Determined date_time Boost 1.65.0 Problem worksforme