fix: format date intially

pull/6931/head
Reddy Uppathi 2024-12-07 02:41:35 +05:30
parent 18367429f6
commit fc703f41db
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '';