mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-07 04:24:35 -04:00
Merge pull request #444 from kubabrecka/fix_chinese_dates_js
fix js dates in chinese
This commit is contained in:
commit
e899af4bf0
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue