Describe the bug
I've added a holiday for July 29 and passed it in the props to the calendar.
It seems that it renders this holiday on June 29 instead, since June 29 appears on the same calendar page as July 29.
My guess is the calendar looks for the first tile that is day 29 and is not properly checking the month that tile belongs to.
To Reproduce
Find a calendar page that shows 2 days with the same number (ie. July 29 and June 29 both appear on the same page in 2026)
Pass a holiday in the props to the calendar on one of the days that overlaps in this manner. Make sure the holiday is for the later month.
Observe that the holiday instead renders for the prior month.
Expected behavior
The holiday should render for the appropriate month
Screenshots
https://i.imgur.com/U9yu2gd.png
Desktop (please complete the following information):
- OS: Linux
- Browser : Firefox
- Version: Latest
Describe the bug
I've added a holiday for July 29 and passed it in the props to the calendar.
It seems that it renders this holiday on June 29 instead, since June 29 appears on the same calendar page as July 29.
My guess is the calendar looks for the first tile that is day 29 and is not properly checking the month that tile belongs to.
To Reproduce
Find a calendar page that shows 2 days with the same number (ie. July 29 and June 29 both appear on the same page in 2026)
Pass a holiday in the props to the calendar on one of the days that overlaps in this manner. Make sure the holiday is for the later month.
Observe that the holiday instead renders for the prior month.
Expected behavior
The holiday should render for the appropriate month
Screenshots
https://i.imgur.com/U9yu2gd.png
Desktop (please complete the following information):