Skip to content

12 hour time digits #151

@publicarray

Description

@publicarray

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: '/'
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions