Merge branch 'v4' of https://github.com/primefaces/primevue into v4
commit
06c5a35cf3
|
@ -1155,11 +1155,11 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) {
|
if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) {
|
||||||
setTimeout(() => {
|
|
||||||
if (this.input) {
|
if (this.input) {
|
||||||
this.input.focus();
|
this.input.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
this.overlayVisible = false;
|
this.overlayVisible = false;
|
||||||
}, 150);
|
}, 150);
|
||||||
}
|
}
|
||||||
|
@ -1168,9 +1168,9 @@ export default {
|
||||||
let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day);
|
let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day);
|
||||||
|
|
||||||
if (this.showTime) {
|
if (this.showTime) {
|
||||||
if (this.hourFormat === '12' && this.currentHour !== 12) {
|
(this.hourFormat === '12' && this.currentHour !== 12 && this.pm) ?
|
||||||
this.pm ? date.setHours(this.currentHour + 12) : date.setHours(this.currentHour);
|
date.setHours(this.currentHour + 12) :
|
||||||
}
|
date.setHours(this.currentHour);
|
||||||
|
|
||||||
date.setMinutes(this.currentMinute);
|
date.setMinutes(this.currentMinute);
|
||||||
date.setSeconds(this.currentSecond);
|
date.setSeconds(this.currentSecond);
|
||||||
|
|
Loading…
Reference in New Issue