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