diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index f806d08ed..cb3e046c9 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -1251,7 +1251,7 @@ export default { }, formatValue(value) { if (typeof value === 'string') { - return value; + return this.dateFormat ? this.formatDate(new Date(value), this.dateFormat) : value; } let formattedValue = '';