diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index 266099490b..f806d08ed9 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; }