diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index b5f701cb2..8af8faba0 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -86,32 +86,62 @@
- - + + + + + + + + {{ yearPickerValues[0].value }} - {{ yearPickerValues[yearPickerValues.length - 1].value }} diff --git a/components/lib/config/PrimeVue.d.ts b/components/lib/config/PrimeVue.d.ts index 9d53ae5f5..59dafff04 100644 --- a/components/lib/config/PrimeVue.d.ts +++ b/components/lib/config/PrimeVue.d.ts @@ -326,6 +326,7 @@ export interface PrimeVueLocaleOptions { today?: string; weekHeader?: string; firstDayOfWeek?: number; + showMonthAfterYear?: boolean; dateFormat?: string; weak?: string; medium?: string; diff --git a/components/lib/config/PrimeVue.js b/components/lib/config/PrimeVue.js index 48cba0695..04c8ba576 100644 --- a/components/lib/config/PrimeVue.js +++ b/components/lib/config/PrimeVue.js @@ -59,6 +59,7 @@ export const defaultOptions = { today: 'Today', weekHeader: 'Wk', firstDayOfWeek: 0, + showMonthAfterYear: false, dateFormat: 'mm/dd/yy', weak: 'Weak', medium: 'Medium',