Merge pull request #6931 from sivareddyuppathi/date-format

fix: format date intially
pull/6577/merge
Tuğçe Küçükoğlu 2024-12-10 12:21:12 +03:00 committed by GitHub
commit 9be739b81f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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