Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User can choose February 31 in ion-datetime #17510

Closed
maeisdev opened this issue Feb 16, 2019 · 2 comments
Closed

User can choose February 31 in ion-datetime #17510

maeisdev opened this issue Feb 16, 2019 · 2 comments
Labels

Comments

@maeisdev
Copy link

Bug Report

Ionic version:

[x] 4.x

Current behavior:

In the ion-datetime user can choose dates that do not exist, for example, February 31. Only after selecting February, closing ion-datetime and clicking again on the ion-datetime, the number of days is updated to 28.

Expected behavior:

Dynamically update the number of days in ion-datetime.

Steps to reproduce:

Create ion-datetime. Select February. In days will be 29-31. Exit ion-datetime. Select ion-datetime again. Only now the number of days will update to 28.

Related code:

-->

<ion-datetime display-format="DD/MM/YYYY">

Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.10.3 
   Ionic Framework               : @ionic/angular 4.0.1
   @angular-devkit/build-angular : 0.13.1
   @angular-devkit/schematics    : 7.3.1
   @angular/cli                  : 7.3.1
   @ionic/angular-toolkit        : 1.4.0

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.17
   @capacitor/core           : 1.0.0-beta.17
@liamdebeasi
Copy link
Contributor

Hi there,

Thanks for the issue! I’ve added this to issue #16630 to keep track of. We’re going to close out the individual issues and address all of the Datetime issues at once. We’re not forgetting about your issue, just trying to keep them all together. 🙂

Thanks for using Ionic!

@ionitron-bot
Copy link

ionitron-bot bot commented Mar 20, 2019

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Mar 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants