Parse dates to be sure we consume correct format
This commit is contained in:
parent
19b6c005b3
commit
ce2d2b7235
1 changed files with 1 additions and 0 deletions
|
@ -646,6 +646,7 @@
|
|||
}
|
||||
},
|
||||
onPick(dates, visible = false, type) {
|
||||
dates = this.parseDate(dates);
|
||||
if (this.multiple){
|
||||
const pickedTimeStamp = dates.getTime();
|
||||
const indexOfPickedDate = this.internalValue.findIndex(date => date && date.getTime() === pickedTimeStamp);
|
||||
|
|
Loading…
Add table
Reference in a new issue