Ignore seconds in datepicker-selected dates.