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

fix(datetime): allow values to be zero #14480

Merged
merged 2 commits into from
Aug 24, 2018
Merged

Conversation

pwespi
Copy link
Contributor

@pwespi pwespi commented May 15, 2018

Short description of what this resolves:

Currently, if all the values in ion-datetime are 0, it doesn't render any text.
E.g. <ion-datetime displayFormat="HH:mm" value="00:00"></ion-datetime> doesn't render any text, even tough "00:00" is a valid time.

Changes proposed in this pull request:

  • allow values to be zero

Ionic Version: 4.x

Fixes: #

@pwespi
Copy link
Contributor Author

pwespi commented May 15, 2018

Note that this fix only works if #14479 is also applied.

@manucorporat manucorporat merged commit e0b8e24 into ionic-team:master Aug 24, 2018
@manucorporat
Copy link
Contributor

Thanks a lot for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants