Skip to content
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

Leap year with JitMasking not possible on years starting with uneven digit #2763

Open
wmschram opened this issue Dec 19, 2023 · 0 comments
Open

Comments

@wmschram
Copy link

wmschram commented Dec 19, 2023

  • Describe the bug
    As described in The leap year doesn't play well with jitMasking parameter #2647 it's not possible to enter 29-02-1980 or any leap year starting with an uneven number if you use jitMasking: true. It's fine for even numbers such as the years 2004 or 2012. But leap years such as 1980, 1988 do not work.

The test added through 0c4a0ed currently only tests years in combination with jitMasking: true that start with an even digit (2024).

  • jsFiddle as example
    https://jsfiddle.net/ud93bt5r/

  • OS:
    Windows, Linux (all OS basically)

  • Browser
    Chrome, Edge (all browsers basically)

  • Inputmask version
    5.0.9-beta.45
    5.0.9-beta.50

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

No branches or pull requests

1 participant