Used JavaScript setHours() method to set end of auction countdown to midnight of item end date.