Skip to content

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

Merged
manucorporat merged 2 commits into
ionic-team:masterfrom
pwespi:patch-2
Aug 24, 2018
Merged

manucorporat merged 2 commits into
ionic-team:masterfrom
pwespi:patch-2

Conversation

@pwespi

@pwespi pwespi commented May 15, 2018

Copy link
Copy Markdown
Contributor

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

pwespi commented May 15, 2018

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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