Merge pull request #7398 from gkolotelo/gkolotelo-patch-1
Fix DatePicker parsing ISO stringpull/7404/head
commit
cd54f04d7d
|
@ -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