Add first weekday option in profile (#13991)

This commit is contained in:
Paul Bottein
2022-10-10 16:58:27 +02:00
committed by GitHub
parent 4deee46864
commit 907466d060
24 changed files with 253 additions and 14 deletions

View File

@@ -33,6 +33,10 @@ const Component = Vue.extend({
return new Date();
},
},
firstDay: {
type: Number,
default: 1,
},
},
render(createElement) {
// @ts-ignore
@@ -48,6 +52,10 @@ const Component = Vue.extend({
disabled: this.disabled,
// @ts-ignore
ranges: this.ranges ? {} : false,
"locale-data": {
// @ts-ignore
firstDay: this.firstDay,
},
},
model: {
value: {