react-schedule-selector icon indicating copy to clipboard operation
react-schedule-selector copied to clipboard

Use days of week without dates

Open jinsley8 opened this issue 3 years ago • 1 comments

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.

jinsley8 avatar Aug 26 '21 03:08 jinsley8

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

bibekg avatar Aug 26 '21 04:08 bibekg