Skip to content

Commit

Permalink
Fixed #7010
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jan 6, 2025
1 parent c7f6148 commit 1536d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/datepicker/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ export default {
},
formatValue(value) {
if (typeof value === 'string') {
return this.dateFormat ? this.formatDate(new Date(value), this.dateFormat) : value;
return value;
}
let formattedValue = '';
Expand Down

0 comments on commit 1536d12

Please sign in to comment.