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): fix edge cases with datetime and invalid values #17769

Merged
merged 4 commits into from
Mar 13, 2019

Conversation

liamdebeasi
Copy link
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
kiku-jw pushed a commit to kiku-jw/ionic that referenced this pull request May 16, 2019
…-team#17769)

* fix edge cases with datetime and invalid values

* clean up code

* revert let changes

* run linter
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.

None yet

1 participant