Merge pull request #6931 from sivareddyuppathi/date-format
fix: format date intiallypull/6577/merge
commit
9be739b81f
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in New Issue