[Time Picker] Displays incorrect initial value when hour-format="24"
#11198
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (dev)
Issues logged by Calcite developers.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 3
A day or two of work, likely requires updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
When the hour value of the component is over 12, on initialization the 12-hour number is present until the minute is specified.
Additionally, users are unable to see numbers between 13-24 until after the component's minutes are specified.
@eriklharper identified its unrelated to the
hourFormat
PR effort, as it occurs using thetime-picker
as a standalone, so its the source of the bug.Expected Behavior
0-24
on initialization when interacting with the componentReproduction Sample
https://codepen.io/geospatialem/pen/RNbjWoM
Reproduction Steps
13
) for the hourReproduction Version
3.0.0-next.87
Relevant Info
Surfaced while verifying #4756, more info in this comment: #4756 (comment)
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
High with the introduction of the
hour-format="24"
, where it appears the functionality is broken on initialization.Calcite package
Esri team
Calcite (dev)
The text was updated successfully, but these errors were encountered: