Inputmask: Alias with datetime and long months is not working properly
Iām not sure if this is a bug or if I am missing something.
I have a simple mask with the following options.
picker.inputMask = new Inputmask({
alias: "datetime",
inputFormat: "dd.mmmm.yyyy"
});
picker.inputMask.mask(picker.altInput);
The input is rendered as following
For some reason, the year part is lost completely, and the month part is moved from the center to the far right. Notice the dots in the middle. Does anyone know what might be wrong here?
User version: 5.0.9-beta.35
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 32 (17 by maintainers)
Commits related to this issue
- add long months to datetime alias. first test. #2751 — committed to RobinHerbots/Inputmask by RobinHerbots 3 years ago
- add i18n to prototype + fix december input #2751 — committed to RobinHerbots/Inputmask by RobinHerbots 3 years ago
- enhance support for mm in datetime alias. #2751 — committed to RobinHerbots/Inputmask by deleted user 3 years ago
- small enhancement for datetime alias long months (mmm & mmmm) #2751 — committed to RobinHerbots/Inputmask by RobinHerbots 3 years ago
- some long date fixes #2751 — committed to viocassel/Inputmask by deleted user 3 years ago
- Update tokenmatch for long datetimes #2751 — committed to RobinHerbots/Inputmask by deleted user 3 years ago
I can confirm this is now working properly š
@RobinHerbots, thank you for not giving up!