Disabling "Sunday" when firstDayOfWeek is Monday #1143
Answered
by
alexbusuioc
alexbusuioc
asked this question in
Support
-
|
This is very simple to reproduce. Just set the DayPicker to start with Monday as firstDayOfWeek, <DayPicker In the example above, only "Saturday" will be disabled |
Beta Was this translation helpful? Give feedback.
Answered by
alexbusuioc
Oct 29, 2019
Replies: 2 comments
-
|
oh, silly me. Sunday has the index "0", not "7" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gpbl
-
|
It can happen to anyone from EU working with US code ^_^ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oh, silly me. Sunday has the index "0", not "7"