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

Multiple Time Pickers #111

Open yahia-aboushadi opened 5 years ago

yahia-aboushadi commented 5 years ago

This is a great plugin, but I'm in a situation where I have multiple open and close store hours for each day. So essentially, instead of only having 2 input fields for time, start and end, I need 4. The first would be for the very first hour of opening, second would be the lunch break, third will be when the store opens again, and third would be when they finally close. In my case, I do not utilize the data picker at all, just the time picker.

Please advise how I should tackle this.

Thanks

jonthornton commented 5 years ago

I'm afraid Datepair's API makes this difficult or impossible- I can't think of how to do this. Thank you for writing about this situation. I'll think about how Datepair could be adapted to accommodate this.