Edit this page

parseFormats Array

Specifies the formats, which are used to parse the value set with the value method or by direct input. If not set the value of the options.format will be used. Note that value of the format option is always used.

Order of the provided parse formats is important and it should from stricter to less strict.


<input id="timepicker" />
    format: "h:mm tt",
    parseFormats: ["HH:mm"] //format also will be added to parseFormats
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article