renamed attribute min to min-date and max to max-date