Retrieves a localized date-time formatting string.
Deprecation warning
Angular recommends relying on the Intl API for i18n. Use Intl.DateTimeFormat for date formating instead.
Intl
Intl.DateTimeFormat
function getLocaleDateTimeFormat(locale: string, width: FormatWidth): string;