MCPcopy Index your code
hub / github.com/angular/angular / getLocaleId

Function getLocaleId

packages/common/src/i18n/locale_data_api.ts:252–254  ·  view source on GitHub ↗
(locale: string)

Source from the content-addressed store, hash-verified

250 * This function serves no purpose when relying on the `Intl` API.
251 */
252export function getLocaleId(locale: string): string {
253 return ɵfindLocaleData(locale)[ɵLocaleDataIndex.LocaleId];
254}
255
256/**
257 * Retrieves day period strings for the given locale.

Callers 1

getNamedFormatFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…