najlepsiwebdesigner / foundation-datepicker

Foundation datepicker jQuery plugin
http://foundation-datepicker.peterbeno.com
Apache License 2.0
442 stars 269 forks source link

Set time interval #226

Open chereabso opened 6 years ago

chereabso commented 6 years ago

I have 2 datetimepickers. Both have to display the hours respecting a workday (from 9AM to 5PM).

Also : One needs to allow the user to choose only inside an hour range (9AM, 10AM, 11AM, etc.), and the other allows the user to pick half hours too (9AM, 9.30AM, 10AM, 10.30AM, etc.).

I was able to set the minutes interval to 30 minutes for the second one. But I still don't know how to display only hours from 9 to 5, and how to disable the minute choice for the first picker.

sashabeep commented 5 years ago

@chereabso did you solve working hours interval?