-
Notifications
You must be signed in to change notification settings - Fork 79
[Time Picker]: inconsistent time format between input field and dropdown #2910
Copy link
Copy link
Closed
Labels
Contributor neededTime PickerLabel for Time Picker componentsLabel for Time Picker componentsbugSomething isn't workingSomething isn't working
Description
Description
In the Time Picker, the input field displays hours with a leading zero (e.g., 01:00 AM), while the dropdown displays the same value without the leading zero (e.g., 1:00 AM).
Steps to Reproduce
- Open the Time Picker component.
- Select a time with a single-digit hour (e.g., 01:00 AM).
- Compare the displayed value in the input field and in the dropdown.
Actual result
The input field shows 01:00 AM, while the dropdown shows 1:00 AM.
Expected result
The time format should be consistent, and both the input field and dropdown should display hours with a leading zero (e.g., 01:00 AM).
Environment
- UUI version: 6.2.0
- Browser name: any
- Operating System: any
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Contributor neededTime PickerLabel for Time Picker componentsLabel for Time Picker componentsbugSomething isn't workingSomething isn't working
Type
Projects
Status
Closed