You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 4, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on May 4, 2022. It is now read-only.
ion-datetime picker selects invalid and out of min max range dates #825
Current behavior:
Under certain condition as mentioned in steps to reproduce, ion-datetime picker selects invalid dates like Nov 31. Also, it selects dates which are out of bound i.e. greater than max and lesser than min.
Expected behavior:
ion-date time should respect min max limits under mentioned Scenarios.
Steps to reproduce:
Scenario 1: Step to reproduce:
Select any value with 31 as a date. eg select October 31 2017
Click done button of ion-datetime picker
Tap again on ion-datetime
Change month from October to November without touching date or year values
Observe that November 31 2017 gets selected which is an invalid date
Scenario 2: Step to reproduce:
Select any value with date greater than 15. eg select November 20 2017
Click done button of ion-datetime picker
Tap again on ion-datetime
Change month from November to December without touching date or year values
Observe that December 20 2017 gets selected which is greater than max allowed date value
Activity