Skip to content

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

@Lambdaphile

Description

@Lambdaphile

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions