mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix js dates in chinese
This commit is contained in:
parent
cde9d8c3a9
commit
74afb25c2e
@ -32,5 +32,5 @@ Date.addLocale('cs', {
|
||||
}
|
||||
});
|
||||
|
||||
// set the current date locale
|
||||
Date.setLocale(I18n.locale);
|
||||
// set the current date locale, replace underscore with dash to make zh_CN work
|
||||
Date.setLocale(I18n.locale.replace("_","-"));
|
||||
|
Loading…
Reference in New Issue
Block a user