primefaces/primeng
View on GitHubBug: Hour increment/decrement buttons in DatePicker not working correctly
Open
#19557 opened on Apr 30, 2026
Type: Buggood first issue
Description
Describe the bug
Create a DatePicker control and set the minDate hour to 9. In the DatePicker dropdown, when clicking the hour increment (up) button, the numbers display correctly and cycle as expected. However, when clicking the hour decrement (down) button, the values only loop between 9, 10, and 11 instead of cycling through all hours.
Pull Request Link
No response
Reason for not contributing a PR
- Lack of time
- Unsure how to implement the fix/feature
- Difficulty understanding the codebase
- Other
Other Reason
No response
Reproducer
Environment
Windows 11, chrome 147
Angular version
21
PrimeNG version
v19 (LTS Only)
Node version
No response
Browser(s)
chrome 147
Steps to reproduce the behavior
- Open the StackBlitz website.
- Click on the DatePicker dropdown.
- Click the hour down button.
You will notice that the behavior is clearly different from the up button.
Expected behavior
When clicking the hour up and down buttons, the behavior should be consistent.