Function: formatMonthDropdown()
formatMonthDropdown(
month
,dateLib
):string
Defined in: src/formatters/formatMonthDropdown.ts:14
Formats the month for the dropdown option label.
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
month | Date | undefined | The date representing the month. |
dateLib | DateLib | defaultDateLib | The date library to use for formatting. Defaults to defaultDateLib . |
Returns
string
The formatted month name as a string.
Default Value
The localized full month name.