Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

fix(dateParser): handle cases where baseDate is an Invalid Date #3817

Conversation

antoinepairet
Copy link

dateParser does not handle Invalid Date for baseDate:

dateParser.parse('28/11/1986', 'dd/MM/yyyy', new Date(198, 10, 28));

screen shot 2015-06-14 at 17 41 18

@wesleycho
Copy link
Contributor

Just noting, this PR has some overlap with #3759.

@antoinepairet
Copy link
Author

Thanks @wesleycho
I did not know, I should spend more time on slack :-). This PR can be closed if yours is merged.
rgds

@cbosco
Copy link

cbosco commented Jun 24, 2015

Oops I just duplicated efforts on this too #3853

+1

@wesleycho
Copy link
Contributor

Closing as relevant PR is merged.

@wesleycho wesleycho closed this Aug 1, 2015
@antoinepairet antoinepairet deleted the fix_baseDate_InvalidDate branch August 1, 2015 10:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants