Im trying to disable times for specific days in an antd datetimepicker.
Is it at all possible to have an array of dates like this
const disabledDates = [
"2020-10-17 13:00",
"2020-10-17 14:30"
]
and disable the times only on those days? heres the datepicker currently
<DatePicker
inputReadOnly={true}
showNow={false}
showTime={true}
disabledDate={disablePast}
disabledHours={() => [0, 1, 2, 3, 4, 5, 6, 7, 8, 20, 21, 22, 23]}
disabledSeconds={() => disabledSec}
hideDisabledOptions={true}
minuteStep={30}
/>