ngx-date-fns-tz
Version:
@date-fns/tz pipes for Angular
12 lines (11 loc) • 524 B
TypeScript
import { OnDestroy, PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class FormatInTimeZonePipe implements PipeTransform, OnDestroy {
private service;
private cdr;
private cleanup;
transform(date: Date | string | number, tz?: string | null, fmt?: string | null): string;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FormatInTimeZonePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<FormatInTimeZonePipe, "dfnsFormatInTimeZone", true>;
}