You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The date method should not be used since it relays on the Date constructor which behaves differently across browsers. It's stated clearly in the docs of this method.
As for the dateISO method, there is a PR that adds sanity checks (#1528) to the method but not merged yet, as it could be considered a BC break for those who still rely on the old behavior (even though it's wrong).
This issue/proposal has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up.
Thank you for contributing :)
as of here: https://jqueryvalidation.org/dateISO-method/
both of these dates don't validate correctly, they should fail
2011-11-31
2011-02-29
normally i would use this which checks the data parsed from the input string matches the supplied date
since 2011-02-29 would parse as 2011-03-01, then this would fail properly
please advise
thanks
J
The text was updated successfully, but these errors were encountered: