continuouscalendar / jquery-continuous-calendar

Date picker and range selector with scrollable months instead of paged (the only right way to do it)
http://continuouscalendar.github.io/jquery-continuous-calendar/
85 stars 35 forks source link

Clicking on Today cell does not start range #38

Closed KevinTriplett closed 12 years ago

KevinTriplett commented 12 years ago

If the user clicks and releases without dragging, the expected behavior of today being selected does not happen.

KevinTriplett commented 12 years ago

3577fb6e92e67ddcdd5510e52b5b7cceb32af89d fixes this with tests demonstrating the failure and passing with the fix.

KevinTriplett commented 12 years ago

Also, I found a bug in clickOnDate in testFunctions.js where if the date is a single digit 1 or 2 (like it is today June 2) then multiple cells are selected (like May 20, 21, 22, 23, ...).

If you want, I can send you a pull request fixing both of these (selecting current date and test function imporperly handling single-digit dates).

eeroan commented 12 years ago

That would be nice. Please do.