Skip to content

Commit

Permalink
fix(VDatePicker): correct date format in month text
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD authored and VIXI0 committed Mar 13, 2024
1 parent 28e0938 commit 74393f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const VDatePicker = genericComponent<new <
})
const text = computed(() => {
return adapter.format(
adapter.parseISO(`${year.value}-${month.value + 1}-01`),
adapter.date(new Date(year.value, month.value, 1)),
'monthAndYear',
)
})
Expand Down

0 comments on commit 74393f9

Please sign in to comment.