getLocaleDayNames
function
deprecatedsince v18
Retrieves days of the week for the given locale, using the Gregorian calendar.
API
function getLocaleDayNames(
locale: string,
formStyle: FormStyle,
width: TranslationWidth,
): readonly string[];
getLocaleDayNames
readonly string[]
Retrieves days of the week for the given locale, using the Gregorian calendar.
@paramlocale
string
A locale code for the locale format rules to use.
@returns
readonly string[]
Jump to details