Skip to content

Datepicker: reject dates with two year digits when expecting 'yy' #1248

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

Conversation

rclmenezes
Copy link
Contributor

parseDate accepts dates with two year digits when using formats like 'mm/dd/yy'. With 'yy', it should only accept years with four digits.

Fixes #8353

@tjvantoll
Copy link
Member

Hi @rclmenezes.

Can you please sign our CLA so we can review this? Thanks.

@rclmenezes
Copy link
Contributor Author

Done. Thanks!

@rclmenezes
Copy link
Contributor Author

So what's the next step for a pull request like this?

@tjvantoll
Copy link
Member

Hi @rclmenezes,

I apologize for the delay on this. We're in the process of rewriting datepicker so we're hesitant to land any changes to the existing widget.

That being said, this is pretty straightforward, and this ticket has come up more than once. I also verified this patch works as expected.

@tjvantoll tjvantoll closed this in 5730374 Jul 14, 2014
@rclmenezes
Copy link
Contributor Author

No worries - thanks for letting me know!

On Mon, Jul 14, 2014 at 9:35 AM, TJ VanToll notifications@github.com
wrote:

Closed #1248 #1248 via 5730374
5730374
.


Reply to this email directly or view it on GitHub
#1248 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants