Open robextrem opened 9 months ago
(v 3.1.0) I am using these settings:
<date-picker is-required :min-date="today" :color="'purple'" :disabled-dates="disabledDates" view="weekly" mode="date" v-model.string="date" expanded transparent borderless :locale="{ id: 'es', firstDayOfWeek: 2, masks: { weekdays: 'WWW' } }"/>
It works normal, but at the beginning of the month, week starts the first day of the last week.
both date and today are setted as new Date()
date
today
new Date()
For example: Today is October 3th, so the week should start October 2 (monday). But I got this as the first view:
(v 3.1.0) I am using these settings:
<date-picker is-required :min-date="today" :color="'purple'" :disabled-dates="disabledDates" view="weekly" mode="date" v-model.string="date" expanded transparent borderless :locale="{ id: 'es', firstDayOfWeek: 2, masks: { weekdays: 'WWW' } }"/>
It works normal, but at the beginning of the month, week starts the first day of the last week.
both
date
andtoday
are setted asnew Date()
For example: Today is October 3th, so the week should start October 2 (monday). But I got this as the first view: