Merge pull request #7398 from gkolotelo/gkolotelo-patch-1

Fix DatePicker parsing ISO string
pull/7404/head
Tuğçe Küçükoğlu 2025-03-11 10:16:22 +03:00 committed by GitHub
commit cd54f04d7d
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) {
if (typeof value === 'string') {
return value;
return this.dateFormat ? (isNaN(new Date(value)) ? value : this.formatDate(new Date(value), this.dateFormat)) : value;
}
let formattedValue = '';