DateTimePicker icon indicating copy to clipboard operation
DateTimePicker copied to clipboard

12 hour time digits

Open publicarray opened this issue 6 years ago • 0 comments

How do I get the following format? dd/MM/yyyy h:mm AA note the one h for 0-12 as opposed to 00-12

The following doesn't work:

var $div = $("<div>", {id: "DatePicker"});
$("body").append($div);
$div.DateTimePicker({
       dateTimeFormat: 'dd/MM/yyyy h:mm AA',
       dateSeparator: '/'
});

publicarray avatar Sep 20 '18 04:09 publicarray