diff --git a/packages/date-picker/src/panel/date.vue b/packages/date-picker/src/panel/date.vue index ec518d36..b0b0a366 100644 --- a/packages/date-picker/src/panel/date.vue +++ b/packages/date-picker/src/panel/date.vue @@ -49,31 +49,37 @@ {{ yearLabel }} {{t(`el.datepicker.month${ month + 1 }`)}} diff --git a/src/locale/lang/en.js b/src/locale/lang/en.js index 9b8e6bc3..76eb640d 100644 --- a/src/locale/lang/en.js +++ b/src/locale/lang/en.js @@ -16,6 +16,10 @@ export default { startTime: 'Start Time', endDate: 'End Date', endTime: 'End Time', + prevYear: 'Previous Year', + nextYear: 'Next Year', + prevMonth: 'Previous Month', + nextMonth: 'Next Month', year: '', month1: 'Jan', month2: 'Feb', diff --git a/src/locale/lang/es.js b/src/locale/lang/es.js index 1a17b792..741e71b3 100644 --- a/src/locale/lang/es.js +++ b/src/locale/lang/es.js @@ -16,6 +16,10 @@ export default { startTime: 'Hora Inicial', endDate: 'Fecha Final', endTime: 'Hora Final', + prevYear: 'Año Anterior', + nextYear: 'Próximo Año', + prevMonth: 'Mes Anterior', + nextMonth: 'Próximo Mes', year: 'Año', month1: 'enero', month2: 'febrero',