Fixed #5254 - Calendar: When entering the time by hand into timeOnly calendar, values switch to NaN:NaN
parent
2a657bc85b
commit
0c4ef3dda9
|
@ -1810,7 +1810,7 @@ export default {
|
|||
let parts = text.split(' ');
|
||||
|
||||
if (this.timeOnly) {
|
||||
date = new Date(this.modelValue);
|
||||
date = new Date();
|
||||
this.populateTime(date, parts[0], parts[1]);
|
||||
} else {
|
||||
const dateFormat = this.datePattern;
|
||||
|
|
Loading…
Reference in New Issue