jonthornton / Datepair.js

A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar.
https://www.jonthornton.com/Datepair.js
358 stars 87 forks source link

Get rid of AM/PM #47

Closed ghost closed 9 years ago

ghost commented 9 years ago

is there a way to change the format of the time field, and perhaps the interval? Same goes for date - any way to change the format, that is when not using a datepicker but just the dropdown?

jonthornton commented 9 years ago

Yup! Datepair.js doesn't initialize date or time picket widgets - the developer has to code that themselves - so you can customize it to your heart's content. Initializing the date and time pickers is included the the examples for convenience. Please refer to the docs for your date and time picker plugins. (Though I'm the developer of both Datepair.js and jquery.timepicker, they're entirely independent projects.)