mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 00:12:11 +08:00
fix AM/PM text in datetime picker is not translated
This commit is contained in:
+2
-2
@@ -1079,9 +1079,9 @@ function setLanguage(i18nGlobal, locale, force) {
|
||||
weekdaysMin : getAllMinWeekdayNames(i18nGlobal.t),
|
||||
meridiem: function (hours) {
|
||||
if (hours > 11) {
|
||||
return i18nGlobal.t('datetime.PM.upperCase');
|
||||
return i18nGlobal.t('datetime.PM.content');
|
||||
} else {
|
||||
return i18nGlobal.t('datetime.AM.upperCase');
|
||||
return i18nGlobal.t('datetime.AM.content');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user