disregard time when comparing

Im sure there is a more elegant way of doing this, but this works better than the proposed solution by: @tormedo
https://github.com/eternicode/bootstrap-datepicker/pull/867