Calendar: 12h time picker changes from 12 am to 12 pm automatically #5108
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If the 12-hour time picker contains a time between midnight and 1am, it will automatically switch to
pm
if a new date is selected. Previously mentioned in #4449.This has caused a number of scheduling incidents with users when they pull up a document, change the date, and don't notice that the
am
subtly and automatically changes topm
.Reproducer
(see steps to reproduce below)
PrimeVue version
3.46.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
You can reproduce it on the current v3.46.0 documentation page demo:
Expected behavior
If you click the field to change the date, the time that was previously selected should be preserved rather than automatically switching from
am
topm
.The text was updated successfully, but these errors were encountered: