diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index 266099490..f806d08ed 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -2926,7 +2926,7 @@ export default { return yearPickerValues; }, formattedCurrentHour() { - if (this.currentHour == 0) { + if (this.currentHour == 0 && this.hourFormat == '12') { return this.currentHour + 12; }