Skip to content

Commit 9625b54

Browse files
fix: issue with initial locale (#273)
1 parent 5bc97f7 commit 9625b54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/VueCtkDateTimePicker/index.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@
218218
updateMomentLocale(value, this.firstDayOfWeek)
219219
}
220220
},
221-
mounted () {
221+
created () {
222222
updateMomentLocale(this.locale, this.firstDayOfWeek)
223+
},
224+
mounted () {
223225
this.pickerPosition = this.getPosition()
224226
this.pickerOpen = this.open
225227
if (this.hasCustomElem) {

0 commit comments

Comments
 (0)