Function: formatWeekNumber()
formatWeekNumber(
weekNumber
):string
Format the week number.
Parameters
Parameter | Type |
---|---|
weekNumber | number |
Returns
string
Default Value
weekNumber.toLocaleString()
with a leading zero for single-digit numbers
See
https://daypicker.dev/docs/translation#custom-formatters