Function: formatYearDropdown()
formatYearDropdown(
year
,dateLib
):string
Defined in: src/formatters/formatYearDropdown.ts:9
Format the years for the dropdown option label.
Parameters
Parameter | Type | Default value |
---|---|---|
year | Date | undefined |
dateLib | DateLib | defaultDateLib |
Returns
string