Ticket #9089: strings_from_facet.hpp.patch
File strings_from_facet.hpp.patch, 848 bytes (added by , 9 years ago) |
---|
-
boost/date_time/strings_from_facet.hpp
55 55 for (int m=0; m < 12; m++) { 56 56 tm_value.tm_mon = m; 57 57 stringstream_type ss; 58 ss.imbue(locale); 58 59 ostream_iter_type oitr(ss); 59 60 std::use_facet<time_put_facet_type>(locale).put(oitr, ss, ss.fill(), 60 61 &tm_value, … … 109 110 for (int i=0; i < 7; i++) { 110 111 tm_value.tm_wday = i; 111 112 stringstream_type ss; 113 ss.imbue(locale); 112 114 ostream_iter_type oitr(ss); 113 115 std::use_facet<time_put_facet_type>(locale).put(oitr, ss, ss.fill(), 114 116 &tm_value,