#2593·Inputmask

Datetime with optional time is not displaying the values correctly

Author: gmogollon-agateCreated Feb 22, 2022Updated Jul 31, 2026
LabelsDatesEnhancement / Feature

When you add a datetime input mask using optional parameters for the time the default value is not displaying correctly.

Please see the following fiddle:

https://jsfiddle.net/gmogollon/7okjw6mt/

You can see how the value displayed is incorrect, for example when the value is 12/25/2022 09:00 AM it displays as 12/25/2022 090000AM