Skip to content

[input-time-picker] - updating the hour automatically sets "PM" back to "AM" #13706

@ian13262

Description

@ian13262

monday.com sync: #11014218078

Check existing issues

Which Component

Input Time Picker

Actual Behavior

Whenever a time picker has a time in PM, updating the hour by directly clicking on it resets the time back to AM.

Expected Behavior

Updating the hour should not affect the AM/PM configuration.

Reproduction Sample

https://codepen.io/iyouth66/pen/VYjPxZJ?editors=1000

Reproduction Steps

  1. Open https://codepen.io/iyouth66/pen/VYjPxZJ?editors=1000
  2. Open the dropdown picker and use the arrows to modify the hour. It works as expected.
Image
  1. Now click directly into the hour and type a new hour. The time changes from PM to AM.
Image

Reproduction Version

N/A

Relevant Info

cc @eriklharper per our discussion. Thanks!

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

This affects all time-pickers in AGOL and can be particularly problematic when setting time ranges where we need to validate that times are sequential.

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

Metadata

Metadata

Assignees

No one assigned

    Labels

    ArcGIS OnlineIssues logged by ArcGIS Online team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.c-input-time-pickerIssues that pertain to the calcite-input-time-picker componentcalcite-componentsIssues specific to the @esri/calcite-components package.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneneeds triagePlanning workflow - pending design/dev review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions