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