Sitelet https://web.archive.org/web/20240920155744/https://angular.dev/api/common/getLocaleExtraDayPeriods/
@angular/common

getLocaleExtraDayPeriods

function
Deprecated

Retrieves locale-specific day periods, which indicate roughly how a day is broken up in different languages. For example, for en-US, periods are morning, noon, afternoon, evening, and midnight.

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