]> git.lizzy.rs Git - rust.git/commit
auto merge of #10281 : klutzy/rust/rt-timezone, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 8 Nov 2013 05:41:07 +0000 (21:41 -0800)
committerbors <bors@rust-lang.org>
Fri, 8 Nov 2013 05:41:07 +0000 (21:41 -0800)
commit075347b4453e4b4bc4dd2d2370e408e92041d4ce
treee28cf414eab24bbea7ecb8caf385c20862b9b078
parentd26776a7755abf2227ba7a75f657c561999ed497
parentfe18fe0f884ab4edb2b0a986b68572b361285599
auto merge of #10281 : klutzy/rust/rt-timezone, r=alexcrichton

Previously #9418 fixed utf-8 assertion issue by wcsftime,
but the function didn't work as expected: it follows the locale
set by setlocale(), not the system code page.
This patch fixes it by manual multibyte-to-unicode conversion.
src/rt/rust_builtin.cpp