Function: formatWeekdayName()
formatWeekdayName(
weekday
,options?
,dateLib?
):string
Defined in: src/formatters/formatWeekdayName.ts:15
Formats the name of a weekday to be displayed in the weekdays header.
Parameters
Parameter | Type | Description |
---|---|---|
weekday | Date | The date representing the weekday. |
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 weekday name as a string.
Default Value
cccccc
(e.g., "Mo" for Monday).