Function: formatWeekdayName()
formatWeekdayName(
weekday
,options
?,dateLib
?):string
Format the weekday name to be displayed in the weekdays header.
Parameters
Parameter | Type |
---|---|
weekday | Date |
options ? | DateLibOptions |
dateLib ? | DateLib |
Returns
string
Default Value
cccccc
(e.g. "Mo" for Monday)
See
https://daypicker.dev/docs/translation#custom-formatters