From f737852b7ba3398749fc4c9ab86b803ca3b1619d Mon Sep 17 00:00:00 2001 From: Reinier Kip Date: Wed, 3 Jul 2024 12:58:22 +1200 Subject: [PATCH] Note that the day header hook may receive UTC dates. For day headers that do not represent specific dates, like weekdays in a month view, the provided `Date` instant must be interpreted as UTC. If not done so, day headers may show the wrong weekday. --- _docs-v6/date-display/day-header-render-hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs-v6/date-display/day-header-render-hooks.md b/_docs-v6/date-display/day-header-render-hooks.md index 13855434..53b599b9 100644 --- a/_docs-v6/date-display/day-header-render-hooks.md +++ b/_docs-v6/date-display/day-header-render-hooks.md @@ -7,7 +7,7 @@ Customize the header elements above the day cells in daygrid and timegrid views `dayHeaderClassNames` - a [ClassName Input](classname-input) for adding classNames to the header `` cell -`dayHeaderContent` - a [Content Injection Input](content-injection). Generated content is inserted *inside* the inner-most wrapper of the header cell. It does not replace the `` cell. +`dayHeaderContent` - a [Content Injection Input](content-injection). Generated content is inserted _inside_ the inner-most wrapper of the header cell. It does not replace the `` cell. For day headers that do not represent specific dates, like weekdays in a month view, the provided `Date` instant must be interpreted as UTC. `dayHeaderDidMount` - called right after the `` has been added to the DOM