Skip to main content
Previewvendurehq/vendure/feat/4563-refund-destinations

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
Signature
  • Extends: LocaleBasePipe

  • Implements: PipeTransform

constructor

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

transform

method(value: unknown, args: unknown[]) => unknown