• Overview
@angular/common

getLocaleDayNames

function
deprecatedsince v18

Retrieves days of the week for the given locale, using the Gregorian calendar.

Deprecation warning

Angular recommends relying on the Intl API for i18n. Use Intl.DateTimeFormat for date formating instead.

API

function getLocaleDayNames(  locale: string,  formStyle: FormStyle,  width: TranslationWidth,): readonly string[];
Jump to details