Add minDate and maxDate options.