From d1a26a2bdbbf71835ea5e9fa378d8cf2a5ea6462 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Fri, 19 Apr 2024 11:52:56 +0000 Subject: [PATCH] Code Format --- components/lib/calendar/Calendar.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 6d7bb7b45..53414b618 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -1162,9 +1162,7 @@ export default { let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day); if (this.showTime) { - (this.hourFormat === '12' && this.currentHour !== 12 && this.pm) ? - date.setHours(this.currentHour + 12) : - date.setHours(this.currentHour); + this.hourFormat === '12' && this.currentHour !== 12 && this.pm ? date.setHours(this.currentHour + 12) : date.setHours(this.currentHour); date.setMinutes(this.currentMinute); date.setSeconds(this.currentSecond);