Skip to content

fix(datetime): fix edge cases with datetime and invalid values - #17769

Merged
liamdebeasi merged 4 commits into
masterfrom
datetime-edge-cases
Mar 13, 2019
Merged

liamdebeasi merged 4 commits into
masterfrom
datetime-edge-cases

Conversation

@liamdebeasi

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

This PR is a follow up to my previous datetime PR that adds better handling for invalid value edge cases

Changes proposed in this pull request:

  • Explicitly detect if input dateString is of type string, otherwise default to current date

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Mar 13, 2019
@liamdebeasi
liamdebeasi merged commit ec3acc9 into master Mar 13, 2019
@liamdebeasi
liamdebeasi deleted the datetime-edge-cases branch March 13, 2019 13:39
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.

1 participant