Visitar URL original
getLocaleTimeFormat • Angular
The Wayback Machine - https://web.archive.org/web/20260414151427/https://angular.dev/api/common/getLocaleTimeFormat
    • Overview
@angular/common

getLocaleTimeFormat

function
deprecatedsince v18

Retrieves a localized time-value formatting string.

Deprecation warning

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

API

function getLocaleTimeFormat(locale: string, width: FormatWidth): string;
Jump to details