jonthornton / Datepair.js

A javascript plugin for intelligently selecting date and time ranges, inspired by Google Calendar.
https://www.jonthornton.com/Datepair.js
359 stars 85 forks source link

Use time only #18

Closed diegoleme closed 10 years ago

diegoleme commented 10 years ago

When used only time and the end time is another day (11:30 PM to 12: 30 AM) the event 'rangeSelected' does not work and the method '.getTimeDiff()' return a negative number.

jonthornton commented 10 years ago

Thanks for reporting!