Skip to content

Holidays not rendering properly #6316

Description

@nuke-haus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions