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

Default Time need to set from 6 am instead of 12 am #108

Closed vishalspawar25 closed 6 years ago

vishalspawar25 commented 6 years ago

Hi, I am using datepair for selecting start time and end time for my project. By default timepicker dropdown starts with 12 am (midnight) but I want it to start with 6 am .(See picture 2) Can anyone suggest what configuration I need to do.

Picture 1 (Currect output) image

Picture 2 (Expected output)

image

jonthornton commented 6 years ago

Use timepicker's minTime option https://github.com/jonthornton/jquery-timepicker