Skip to content
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

Is there a way to change the first day of the week? (Not globally) #901

Open
Lambdaphile opened this issue Aug 16, 2021 · 0 comments
Open

Comments

@Lambdaphile
Copy link

Hi, I know this question was asked before, I've checked the older issues like #616 and #107. And if understand correctly the way to change the first day of the week is to manipulate the moment.js object globally like this: https://momentjs.com/docs/#/customization/dow-doy/

The problem I have with this approach is that I have cases where I can have more than a single rc-calendar on a page and each of them can have a different first day of the week... or other components who also use moment.js and have their first day of week set differently.

So, is there another way to change the first day of the week in rc-calendar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant