Start week on Monday instead of Sunday
See original GitHub issueI would like my calendar to start on Mondays instead of Sundays. I’ve looked through the docs and the source code but I could not find any optional settings for this.
And also, changing the weekdayLabels aka filling in the empty spots in the array does not seem to be working as well.
weekdayLabels={['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']}
Is this something that could be done?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:13
- Comments:6
Top Results From Across the Web
What is the First Day of the Week? - Calendarr
In the United States, Sunday is still considered the first day of the week, while Monday is the first day of the working...
Read more >Why does the week start on Sunday in some calendars and on ...
Sunday is the first day of the week. "Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday". Saturday is the last day of the week....
Read more >Which day do you consider the start of the week? - ABC News
Your week may start on Sunday, Monday or even Saturday depending on cultural beliefs. (Supplied: Marco Verch).
Read more >What Is the First Day of the Week? - Time and Date
Sunday is the first day of the week for roughly half the world. Monday is the first day of the week for the...
Read more >Changing the Week start date on Weekly Timeline to a ...
Changing the Week start date on Weekly Timeline to a Monday ; acnotpc (Andy Challoner) March 31, 2020, 3:32pm #1 ; basdebruin (Bas...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The empty spots are not rendered because of this:
return dayIndex & 1 ? (
https://github.com/patientslikeme/react-calendar-heatmap/blob/master/src/index.jsx#L300It would be easy to add a config option e.g.
showAllWeekdayLabels
.+1