Merge branch 'master' of https://github.com/primefaces/primevue
commit
0c8c7915de
|
@ -1271,7 +1271,7 @@ export default {
|
||||||
},
|
},
|
||||||
formatValue(value) {
|
formatValue(value) {
|
||||||
if (typeof value === 'string') {
|
if (typeof value === 'string') {
|
||||||
return value;
|
return this.dateFormat ? (isNaN(new Date(value)) ? value : this.formatDate(new Date(value), this.dateFormat)) : value;
|
||||||
}
|
}
|
||||||
|
|
||||||
let formattedValue = '';
|
let formattedValue = '';
|
||||||
|
|
Loading…
Reference in New Issue