fix js dates in chinese

This commit is contained in:
Kuba Brecka 2013-03-13 10:03:05 +01:00
parent cde9d8c3a9
commit 74afb25c2e

View file

@ -32,5 +32,5 @@ Date.addLocale('cs', {
} }
}); });
// set the current date locale // set the current date locale, replace underscore with dash to make zh_CN work
Date.setLocale(I18n.locale); Date.setLocale(I18n.locale.replace("_","-"));