comparing dates instead of times on the calendar, so that maxDate can be selected
Merge pull request #326 from mcurtis/master

Fix #321 Cannot select the 'MaxDate' in 'To' date form