(locale: string, width: FormatWidth)
| 470 | * Use `Intl.DateTimeFormat` for date formating instead. |
| 471 | */ |
| 472 | export function getLocaleDateTimeFormat(locale: string, width: FormatWidth): string { |
| 473 | const data = ɵfindLocaleData(locale); |
| 474 | const dateTimeFormatData = <string[]>data[ɵLocaleDataIndex.DateTimeFormat]; |
| 475 | return getLastDefinedValue(dateTimeFormatData, width); |
| 476 | } |
| 477 | |
| 478 | /** |
| 479 | * Retrieves a localized number symbol that can be used to replace placeholders in number formats. |
no test coverage detected