Skip to content

bug: Datetime time missing PM option and time values when using min/max #26216

@acommend

Description

@acommend

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

Datetime time missing PM option and time values when using min/max. In the attached repo the user is unable to select time values from 12:00 thru 12:14 PM.

Expected Behavior

Expected all time values between the min and max to be be selectable.

Steps to Reproduce

  1. Add Datetime component with min and max set crossing the 12 PM boundary and time set to a time before 12 PM
  2. Select the time value. No PM value present in time picker

Code Reproduction URL

https://github.com/acommend/datetime-missing-time-values

Ionic Info

C:\Git\datetime-missing-time-values>ionic info

Ionic:

Ionic CLI : 6.18.1 (C:\Users\Tony\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/vue 6.3.4

Capacitor:

Capacitor CLI : 4.4.0
@capacitor/android : not installed
@capacitor/core : 4.4.0
@capacitor/ios : not installed

Utility:

cordova-res : 0.15.3
native-run : 1.7.1

System:

NodeJS : v16.9.1 (C:\Program Files\nodejs\node.exe)
npm : 7.21.1
OS : Windows 10

Additional Information

https://dashboard.ionicframework.com/app/786e62f7/preview/8282836

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions