Boost C++ Libraries: Ticket #9129: gregorian::date_facet incorrect month with unicode https://svn.boost.org/trac10/ticket/9129 <p> Hey Guys, </p> <p> When I create a date_facet to format a date as "%Y-%m-%d", Passing today's date into a std::ostringstream object will result in "2013-09-19", yet when an std::wostringstream object is imbued with the exact same facet, "2013-Sep-19" is the result. </p> <p> Compiled with MinGW (g++ 4.6.2) Windows 7 x64 Home Premium </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9129 Trac 1.4.3 Roman Vaughan <nzsmartie@…> Wed, 18 Sep 2013 12:54:11 GMT attachment set https://svn.boost.org/trac10/ticket/9129 https://svn.boost.org/trac10/ticket/9129 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boostbug.cpp</span> </li> </ul> <p> Simple program demonstrating the bug </p> Ticket Roman Vaughan <nzsmartie@…> Wed, 18 Sep 2013 13:06:20 GMT <link>https://svn.boost.org/trac10/ticket/9129#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9129#comment:1</guid> <description> <p> I'm sorry, I've just noticed there is a 'wdate_facet' which i'm supposed to use for unicode strings. After changing the type, it formats correctly. I'm sorry for the misleading bug report </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Marshall Clow</dc:creator> <pubDate>Wed, 09 Oct 2013 00:52:55 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9129#comment:2 https://svn.boost.org/trac10/ticket/9129#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket