Code Format
parent
dd71f32314
commit
d1a26a2bdb
|
@ -1162,9 +1162,7 @@ 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) {
|
||||||
(this.hourFormat === '12' && this.currentHour !== 12 && this.pm) ?
|
this.hourFormat === '12' && this.currentHour !== 12 && 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