Skip to content

The week does not start on Monday if the calendar parameter is set to iso8601 in the locale #8810

@vlad11631

Description

@vlad11631

Provide a general summary of the issue here

According to the ISO 8601 standard, the week starts on Monday. If you specify the iso8601 calendar in the locale, the week in the English language starts on Sunday in the Сalendar.

🤔 Expected Behavior?

If you specify the iso8601 calendar in the locale, the week for the English language starts on Monday.

😯 Current Behavior

If you specify the iso8601 calendar in the locale, the week for the English language starts on Sunday.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

1.Create the component Calendar as in the example from the page: https://react-spectrum.adobe.com/react-aria/useCalendar.html
2. Set the locale is "en-u-ca-iso8601"

https://codesandbox.io/p/sandbox/determined-kalam-pmy6kn?file=%2Fsrc%2FApp.js%3A16%2C18-16%2C35

Version

react-aria@3.42.0, react-stately@3.40.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

MasOs

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions