Skip to content

[Time Picker]: inconsistent time format between input field and dropdown #2910

@NatalliaAlieva

Description

@NatalliaAlieva

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

  1. Open the Time Picker component.
  2. Select a time with a single-digit hour (e.g., 01:00 AM).
  3. 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.

Image

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions