react-schedule-selector
react-schedule-selector copied to clipboard
Use days of week without dates
Is there any way to use days of the week Monday, Tuesday, etc. without relating directly to the date?
Get availability for all Mondays for example.
Hm this isn't explicitly possible but a pretty good workaround would be to specify a hardcoded date using startDate
and numDays
to 1, and then pass dateFormat
to render just the day of the week. Check out https://codesandbox.io/s/prod-resonance-n35mh?file=/src/App.js