Describe the bug
As described in https://github.com/RobinHerbots/Inputmask/issues/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.
29-02-1980
or any leap year starting with an uneven number if you usejitMasking: 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 https://github.com/RobinHerbots/Inputmask/commit/0c4a0eda93f606b14ee92d102e3ed25ea60121cf 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