Skip to content

RAC DatePicker and DateRangePicker not propagating firstDayOfWeek internally #8557

@mwannewitz

Description

@mwannewitz

Provide a general summary of the issue here

DatePicker and DateRangePicker do not forward the firstDayOfWeek as calendarProps internally.

🤔 Expected Behavior?

I would've assumed that the DatePicker and DateRangePicker forward the firstDayOfWeek as calendarProps internally, so that one only needs to set the prop on the main component.

😯 Current Behavior

They don't forward it, so one has to setfirstDayOfWeek again on the Calendar or RangeCalendar.
ref

/

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Set prop firstDayOfWeek on the DatePicker but not again on the Calendar

Version

react-aria-components 1.9.0

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

If other, please specify.

No response

What operating system are you using?

MacOS Sequoia 15.5

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions