We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are two issues with expiration date checking.
First is the line:
if (yearLength < 2 && yearLength > 4) return false;
yearLength can't be both less than 2 and greater than 4.
yearLength
Second is the line:
return !(y < 1000 || y >= 3000);
This fails on two-digit expiration years, which are less than 1000.
The text was updated successfully, but these errors were encountered:
It appears that the first line is not present in the current repo when I forked it, but is in the bower package.
Sorry, something went wrong.
This problem got fixed on v2.0.3, but I not created a Github release. I did it now. It will soon be in the Bower.
Successfully merging a pull request may close this issue.
There are two issues with expiration date checking.
First is the line:
yearLength
can't be both less than 2 and greater than 4.Second is the line:
This fails on two-digit expiration years, which are less than 1000.
The text was updated successfully, but these errors were encountered: