bug fixed: datepicker time is lower than current time, last day of month, last day of year