id summary reporter owner description type status milestone component version severity resolution keywords cc 5041 single digit year given when using %y in format string when stlport standard library in use crispin.boylan@… az_sw_dude "I'm using solaris studio 12.2 on SPARC and boost 1.45. When running a simple facet example I get a single digit year when the format string contains a %y and the year is less than 10. ie the following simple program: #include int main() { boost::gregorian::date localDate(2006,1,9); std::ostringstream ostr; static std::locale locsmlocdmy(std::locale::classic(), new boost::gregorian::date_facet(""%d%m%y"")); ostr.imbue(locsmlocdmy); ostr << localDate; std::cout << ostr.str() << std::endl; } gives 09016 instead of 090106. the same thing happens when using a ptime and a time_facet. i also had an old boost version kicking around (1.33.1) and this exhibited the same problem!" Bugs closed To Be Determined date_time Boost 1.45.0 Problem wontfix cris@…