react-calendar-heatmap icon indicating copy to clipboard operation
react-calendar-heatmap copied to clipboard

WeekDays are not rendered correctly when weekdayLabels array changed

Open erdemontas opened this issue 3 years ago • 0 comments

When make this change weekdayLabels={['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']} to start the week on monday, days are rendered as shifted one day.

Acutally 01.01.2022 is Saturday but it is render as Sunday when weekdayLabels starts on Monday.

image

You can see in codesandbox

erdemontas avatar Feb 05 '22 20:02 erdemontas