Function: formatMonthDropdown()
formatMonthDropdown(
monthNumber
,locale
):string
Format the month number for the dropdown option label.
Parameters
Parameter | Type | Description |
---|---|---|
monthNumber | number | The month number to format. |
locale | Locale | The locale to use for formatting. |
Returns
string
Default Value
The localized month name
See
https://daypicker.dev/docs/translation#custom-formatters