Repository navigation
fix(datetime): Invalid dates in ion-datetime - #14434
Closed
olivercodes wants to merge 4 commits into
Closed
olivercodes wants to merge 4 commits into
olivercodes wants to merge 4 commits into
Conversation
Contributor
Author
|
@mhartington updated with rebase as mentioned |
|
any idea when will be merged? |
|
Any update? |
1 similar comment
|
Any update? |
|
Found similar Issue is with below picker format for month and year.... <ion-datetime display-format="MMM-YYYY" (ionChange)="reloadData()" picker-format="MMM YYYY" [(ngModel)]="asofDate"> If user select Feb 2019, it set asofDate to '"2019-02-30T18:08:06.601-00:00" which is not valid. |
|
The bug still persists any time frame for when the fix will be released? |
|
Merge this fix please ;-) ping @adamdbradley |
2 |
This was referenced Mar 15, 2019
Contributor
|
Hi there, This issue has been resolved by #17846. You have been added as a co-author in that commit due to your contributions here. Thank you very much for the work you put into this PR! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short description of what this resolves:
This fix resolves the Invalid Dates issue in ion-datetime. Currently, it is possible to select invalid dates, because the day column does not update on the first picker change (for example, open the picker, select January 31st, then move Month February).
The fix had to be updated from the original fix: #13529
due to the changeover to Stencil / Ionic 4.
I opened a separate hotfix patch to the 3.9 tag.
#14447
Changes proposed in this pull request:
Ionic Version: 1.x / 2.x / 3.x / 4.x
4.x
Fixes: #
#13287
#12533
#12319
#13430