Change DateTime to LocalDate for dates where no time is required