Fix regression from deprecated moment.js API

This commit is contained in:
Christian Ramseyer
2022-04-21 21:41:03 +02:00
parent 4b428229a0
commit 015f91077f

View File

@@ -42,8 +42,8 @@
toLabel: 'To',
weekLabel: 'W',
customRangeLabel: 'Custom Range',
daysOfWeek: moment()._lang._weekdaysMin.slice(),
monthNames: moment()._lang._monthsShort.slice(),
daysOfWeek: moment().localeData('en').weekdaysMin().slice(),
monthNames: moment().localeData('en').monthsShort().slice(),
firstDay: 0
};