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

Selectable only from 0:00 to 24:00 #70

Closed Inselhopper closed 8 years ago

Inselhopper commented 8 years ago

How set the picker selectable from 0:00 to 24:00? ('step': 15)

'minTime': '0:00', 'maxTime': '24:00',

does not work.

Thanks for your work!

jonthornton commented 8 years ago

The timepicker is a separate project. Documentation can be found at https://github.com/jonthornton/jquery-timepicker

$('#someTimeInput').timepicker({
  'timeFormat': 'G:i',
  'show2400': true
});