Closed m0ksem closed 1 month ago
We have allowed-days, allowed-months, allowed-years right now.
Right now, I need to do something like this:
const filterDateOlderThanToday = (d: Date) => { return d < new Date() }
And it doesn't work if you change month for allowed-days.
I don't know how implement this actually. When we select year, should we compare every day from 1970 to 2100 to check if there is available date?
We have allowed-days, allowed-months, allowed-years right now.
Right now, I need to do something like this:
And it doesn't work if you change month for allowed-days.