Skip to content

Commit c741241

Browse files
committed
fix: Month format
1 parent 1bfd662 commit c741241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VueDatePicker/utils/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const getMonths = (
9393

9494
if (formatLocale !== null) {
9595
try {
96-
const monthDateFnsFormat = monthFormat === 'long' ? 'MMMM' : 'MMM';
96+
const monthDateFnsFormat = monthFormat === 'long' ? 'LLLL' : 'LLL';
9797
return months.map((date, i) => {
9898
const month = format(localToTz(date, 'UTC'), monthDateFnsFormat, { locale: formatLocale });
9999
return {

0 commit comments

Comments
 (0)