Skip to content

Commit e6fd677

Browse files
authored
Note that the day header hook receives a Date generated in UTC.
This caused a surprise for users west of the UK, where the day header rendered for a day was a day previous.
1 parent e95125c commit e6fd677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_docs-v6/date-display/day-header-render-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Customize the header elements above the day cells in daygrid and timegrid views
77

88
`dayHeaderClassNames` - a [ClassName Input](classname-input) for adding classNames to the header `<th>` cell
99

10-
`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 `<th>` cell.
10+
`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 `<th>` cell. Note that the date provided to the hook was generated in UTC.
1111

1212
`dayHeaderDidMount` - called right after the `<th>` has been added to the DOM
1313

0 commit comments

Comments
 (0)