Skip to main content

LocaleDatePipe

A replacement of the Angular DatePipe which makes use of the Intl API to format dates according to the selected UI language.

Example

HTML
{{ order.orderPlacedAt | localeDate }}
Signature
class LocaleDatePipe extends LocaleBasePipe implements PipeTransform {    constructor(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef)    transform(value: unknown, args: unknown[]) => unknown;}
  • Extends: LocaleBasePipe

  • Implements: PipeTransform

constructor

method(dataService?: DataService, changeDetectorRef?: ChangeDetectorRef) => LocaleDatePipe

transform

method(value: unknown, args: unknown[]) => unknown
Was this chapter helpful?
Report Issue
Edited Feb 2, 2026·Edit this page