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

Function getLocaleTimeFormat

packages/common/src/i18n/locale_data_api.ts:437–440  ·  view source on GitHub ↗
(locale: string, width: FormatWidth)

Source from the content-addressed store, hash-verified

435 * Use `Intl.DateTimeFormat` for date formating instead.
436 */
437export function getLocaleTimeFormat(locale: string, width: FormatWidth): string {
438 const data = ɵfindLocaleData(locale);
439 return getLastDefinedValue(data[ɵLocaleDataIndex.TimeFormat], width);
440}
441
442/**
443 * Retrieves a localized date-time formatting string.

Callers 1

getNamedFormatFunction · 0.90

Calls 1

getLastDefinedValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…