-
-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weekStartDay
and highlightWeekends
props
#10
Comments
weekStartDay
and highlightWeekends
propertiesweekStartDay
and highlightWeekends
props
Hey there! Glad you asked. You can also set calendar type by passing Side note: Now that I reviewed the code it seems like I should add more locales to the list, but I'm answering based on current state of this app. As for |
Thanks for your answer. That helps me a lot :). Thanks |
Hey @archer87pl, Another thing I must take into consideration is that US and ISO 8601 calendars not only differ by week start day. For example, they have entirely different approach on how to count week numbers. Also not sure if you really need a HOC for this, it'd be just one function:
usage:
|
I use
react-date-picker
version 5 but I would like to migrate to React 16 that's why I want to upgradereact-date-picker
to version 6. However, Calendar component is missing in version 6. After installingreact-calendar
it appears thatweekStartDay
andhighlightWeekends
properties which are present inreact-date-picker
version 5 are missing inreact-calendar
component. Could you help me?How can I migrate
react-date-picker
version 5 toreact-calendar
and set week start day?The text was updated successfully, but these errors were encountered: