Function: formatDay()
formatDay(
date
,options?
,dateLib?
):string
Defined in: src/formatters/formatDay.ts:15
Formats the day date shown in the day cell.
Parameters
Parameter | Type | Description |
---|---|---|
date | Date | The date to format. |
options? | DateLibOptions | Configuration options for the date library. |
dateLib? | DateLib | The date library to use for formatting. If not provided, a new instance is created. |
Returns
string
The formatted day as a string.
Default Value
d
(e.g., "1").