Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
269 stars 75 forks source link

[Date Picker] Weekday Start Option #4113

Open macandcheese opened 2 years ago

macandcheese commented 2 years ago

Description

Breakout from https://github.com/Esri/calcite-components/issues/4075#issuecomment-1032923598

A nice quality of life feature would be to allow configuration of a "week start day" option.

This is referenced in this example as start-weekday: https://bootstrap-vue.org/docs/components/form-datepicker#internationalization

Acceptance Criteria

Date picker has a configuration option to allow a user to set a "start date" by setting a number.

Relevant Info

No response

Which Component

Date Picker / Date Picker Input

Example Use Case

As a designer / developer, I want to present a calendar where the week starts on Monday.

geospatialem commented 8 months ago

Sought expertise from @annierm18 🧠, who recommends we proceed with this as an enhancement so devs have the option to allow configuration of a week start day, even if it differs from the startDate provided by JS intl/CLDR.