wojtekmaj / react-calendar

Ultimate calendar for your React app.
https://projects.wojtekmaj.pl/react-calendar
MIT License
3.52k stars 509 forks source link

WeekstartDay cant be configured by just using calenderType prop, because it accepts only 4 values #915

Closed anitha96ashok closed 5 months ago

anitha96ashok commented 9 months ago

Before you start - checklist

Description

i want to be able to configure weekstartday to any day of the week, as per user's discretion. there is no HOc directly available to control that, if i want the start of the week to be wednesday, i cant do that.

Steps to reproduce

There is no steps, its just a prop that u pass to component

Expected behavior

there should be mapping of each calendarType to each specific day of the week, or simply a new prop can be introduced to control start of the week selection.

Actual behavior

only 4 types of calendarTypes can be given which map to only 3 days of the week. so if user wants the start of the week to be wednesday, it cant be configured.

Additional information

No response

Environment

wojtekmaj commented 9 months ago

Which calendar starts on Wednesday?

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

github-actions[bot] commented 5 months ago

This issue was closed because it has been stalled for 14 days with no activity.