diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index b77377068..ec1f8b994 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -2927,6 +2927,7 @@ export default { if (this.currentHour == 0) { return this.currentHour + 12; } + return this.currentHour < 10 ? '0' + this.currentHour : this.currentHour; }, formattedCurrentMinute() {