Describe the bug
In v13, the AM/PM format was automatically determined from the inserted time. The AM was also displayed by default when the TimePicker has no value:
Since v14, the default is AM/PM which remains until the user focuses on this segment and changes it to either AM or PM. The component no longer detects the time and ends up in a situation where it displays a possible AM format while the insert time is 22:00:
The user can also leave the inserted time as the image above shows which is incorrect due to the AM/PM existing simultaneously.
Describe the bug In
v13
, the AM/PM format was automatically determined from the inserted time. The AM was also displayed by default when the TimePicker has no value:Here is an example:
https://stackblitz.com/edit/angular-unihfz
Since
v14
, the default is AM/PM which remains until the user focuses on this segment and changes it to either AM or PM. The component no longer detects the time and ends up in a situation where it displays a possible AM format while the insert time is 22:00:The user can also leave the inserted time as the image above shows which is incorrect due to the AM/PM existing simultaneously.
https://stackblitz.com/edit/angular-unihfz-7fwf3i
Expected behavior The AM/PM format needs to behave as in v13 - automatically determine the AM/PM, ensuring the validity of the inserted time.