Function: formatCaption()
formatCaption(
month
,options
?,dateLib
?):string
Format the caption of the month.
Parameters
Parameter | Type |
---|---|
month | Date |
options ? | DateLibOptions |
dateLib ? | DateLib |
Returns
string
Default Value
LLLL y
(e.g. "November 2022")
See
https://daypicker.dev/docs/translation#custom-formatters