After conducting tests on the frontend of the imask website at , it has been verified that utilizing a forward slash for date formatting results in the exclusion of the final digit of the date.
Various attempts were made, including:
IMask(
field,
{
mask: Date,
pattern: 'd{\/]}`m{\/}`Y',
min: new Date(1990, 0, 1),
max: new Date(2020, 0, 1),
lazy: false
});
IMask(
field,
{
mask: Date,
pattern: 'd{/]}`m{/}`Y',
min: new Date(1990, 0, 1),
max: new Date(2020, 0, 1),
lazy: false
});
IMask(
field,
{
mask: Date,
pattern: 'd/m/Y',
min: new Date(1990, 0, 1),
max: new Date(2020, 0, 1),
lazy: false
});
It appears that formats other than using forward slashes are effective in this context.