Skip to main content
Version: 9.14.0

Function: formatMonthDropdown()

formatMonthDropdown(month, dateLib?): string

Defined in: src/formatters/formatMonthDropdown.ts:14

Formats the month for the dropdown option label.

Parameters​

Returns​

string

The formatted month name as a string.

Default Value​

The localized full month name.

See​

https://daypicker.dev/docs/translation#custom-formatters