Fix DatePicker parsing ISO string

pull/7398/head
Guilherme Kairalla Kolotelo 2025-03-10 10:58:06 -03:00 committed by GitHub
parent 4edfa8a12c
commit 9814b753dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1271,7 +1271,7 @@ export default {
}, },
formatValue(value) { formatValue(value) {
if (typeof value === 'string') { if (typeof value === 'string') {
return value; return this.dateFormat ? (isNaN(new Date(value)) ? value : this.formatDate(new Date(value), this.dateFormat)) : value;
} }
let formattedValue = ''; let formattedValue = '';