update moment

This commit is contained in:
yuri
2019-02-05 13:50:44 +02:00
parent c22b1c0e9d
commit ed6c248bbe
2 changed files with 2 additions and 8 deletions
+1 -7
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -247,7 +247,7 @@ define('date-time', [], function () {
},
setLanguage: function (language) {
moment.locale('en', {
moment.updateLocale('en', {
months: language.translate('monthNames', 'lists'),
monthsShort: language.translate('monthNamesShort', 'lists'),
weekdays: language.translate('dayNames', 'lists'),