BuroRaDer / DateRangePicker

Extends the jQuery UI date picker with functionality to turn it into a date range picker
MIT License
2 stars 1 forks source link

Is there a way to add a "time" dropdown? #1

Open drkrtj opened 4 years ago

drkrtj commented 4 years ago

Hello, I like this date selection script. I would like to know how to add a "time" dropdown in after the pickup date and another dropdown after the return date for the return "time" So there will be four dropdowns as follows; pickup date, pickup time, return date, return time. I would appreciate any time you can give me on this. Thanks again for your work on this script.

fietserwin commented 4 years ago

Hello, Thanks for using this daterange picker. Unfortunately I have no intention to extend this widget further into a datetimerange picker, partly because I don't need it, but mostly because standard jquery UI does not have a time picker and I don't want to depend on another library.

Having said so, I guess that if you use my code in combination with the time picker on https://trentrichardson.com/examples/timepicker/, which also extends the jquery ui date picker, you are already half way. His code looks clean, so using both scripts to extend the jquery ui datepicker should work, giving you a date picker with time selection and range selection, possibly leaving only some time range checks to add.

drkrtj commented 4 years ago

Hello, Thanks for the reply. Ok, I will check it out and see what I can do.

Thanks again

 On Tuesday, February 4, 2020, 07:58:31 AM PST, Erwin Derksen <notifications@github.com> wrote:  

Hello, Thanks for using this daterange picker. Unfortunately I have no intention to extend this widget further into a datetimerange picker, partly because I don't need it, but mostly because standard jquery UI does not have a time picker and I don't want to depend on another library.

Having said so, I guess that if you use my code in combination with the time picker on https://trentrichardson.com/examples/timepicker/, which also extends the jquery ui date picker, you are already half way. His code looks clean, so using both scripts to extend the jquery ui datepicker should work, giving you a date picker with time selection and range selection, possibly leaving only some time range checks to add.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

fietserwin commented 4 years ago

I would be interested to know if you succeeded in merging the 2 widgets...

drkrtj commented 4 years ago

Hello, I will let you know if I can figure it out.

Thanks

 On Wednesday, February 5, 2020, 01:34:45 AM PST, Erwin Derksen <notifications@github.com> wrote:  

I would be interested to know if you succeeded in merging the 2 widgets...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.