Fix first-day-of-week prop in event edition

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-03-28 13:56:37 +02:00 committed by tykayn
parent 13fbc9667d
commit 762d20213a

View File

@ -49,11 +49,11 @@
horizontal-time-picker horizontal-time-picker
editable editable
:tz-offset="tzOffset(beginsOn)" :tz-offset="tzOffset(beginsOn)"
:first-day-of-week="firstDayOfWeek"
:datepicker="{ :datepicker="{
id: 'begins-on-field', id: 'begins-on-field',
'aria-next-label': $t('Next month'), 'aria-next-label': $t('Next month'),
'aria-previous-label': $t('Previous month'), 'aria-previous-label': $t('Previous month'),
'first-day-of-week': firstDayOfWeek,
}" }"
> >
</b-datetimepicker> </b-datetimepicker>
@ -70,11 +70,11 @@
:min-datetime="beginsOn" :min-datetime="beginsOn"
:tz-offset="tzOffset(endsOn)" :tz-offset="tzOffset(endsOn)"
editable editable
:first-day-of-week="firstDayOfWeek"
:datepicker="{ :datepicker="{
id: 'ends-on-field', id: 'ends-on-field',
'aria-next-label': $t('Next month'), 'aria-next-label': $t('Next month'),
'aria-previous-label': $t('Previous month'), 'aria-previous-label': $t('Previous month'),
'first-day-of-week': firstDayOfWeek,
}" }"
> >
</b-datetimepicker> </b-datetimepicker>