Open slominskir opened 10 years ago
Looks like I need to tell masked input to use spaces and not underscore '_' otherwise datetime picker has the parse error:
$(".date-field").datetimepicker({ dateFormat: 'dd-M-yy', controlType: myControl, timeFormat: 'HH:mm' }).mask("99-aaa-9999 99:99",{placeholder:" "});
I'm getting the following error on the Javascript console:
Error parsing the date/time string: Unexpected literal at position 11 date/time string = 20-Mar-2014 03:00 timeFormat = HH:mm dateFormat = dd-M-yy hh:mm
I'm invoking the plugin like so: