Skip to content

WeekDays are not rendered correctly when weekdayLabels array changed #171

@erdemontas

Description

@erdemontas

When make this change weekdayLabels={['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']} to start the week on monday, days are rendered as shifted one day.

Acutally 01.01.2022 is Saturday but it is render as Sunday when weekdayLabels starts on Monday.

image

You can see in codesandbox

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions