change moment api
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ function setLanguage(locale) {
|
||||
}
|
||||
|
||||
i18n.global.locale.value = locale;
|
||||
moment.locale(locale, {
|
||||
moment.updateLocale(locale, {
|
||||
months : app.config.globalProperties.$locale.getAllLongMonthNames(),
|
||||
monthsShort : app.config.globalProperties.$locale.getAllShortMonthNames(),
|
||||
weekdays : app.config.globalProperties.$locale.getAllLongWeekdayNames(),
|
||||
|
||||
Reference in New Issue
Block a user