diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index e261c13e8..2004ff2c8 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -85,30 +85,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 f8d8ee470..e0af93df8 100644 --- a/components/lib/config/PrimeVue.d.ts +++ b/components/lib/config/PrimeVue.d.ts @@ -303,6 +303,7 @@ 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 078b401b0..c4bcd9172 100644 --- a/components/lib/config/PrimeVue.js +++ b/components/lib/config/PrimeVue.js @@ -58,6 +58,7 @@ export const defaultOptions = { today: 'Today', weekHeader: 'Wk', firstDayOfWeek: 0, + showMonthAfterYear: false, dateFormat: 'mm/dd/yy', weak: 'Weak', medium: 'Medium',