Skip to content

Add weekStartsOn prop to PickersLocalizationProvider for configurable calendar week start day - #450

Merged
HanjoHagemeierHCL merged 1 commit into
HCL-TECH-SOFTWARE:mainfrom
PiyushKashyapHCL:date-picker-week-start-day
Sep 17, 2026
Merged

HanjoHagemeierHCL merged 1 commit into
HCL-TECH-SOFTWARE:mainfrom
PiyushKashyapHCL:date-picker-week-start-day

Conversation

@PiyushKashyapHCL

Copy link
Copy Markdown
Contributor

Issue -
The calendar's week start day was hardcoded to Monday and could not be configured.

Fix -
Added a weekStartsOn prop to the PickersLocalizationProvider to allow setting the first day of the week dynamically.
Updated the DatePicker Storybook to expose this control for easier testing and documentation.

@PiyushKashyapHCL
PiyushKashyapHCL marked this pull request as ready for review September 15, 2026 07:25
@HanjoHagemeierHCL
HanjoHagemeierHCL merged commit c20aea0 into HCL-TECH-SOFTWARE:main Sep 17, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants