@hmcts/media-viewer
Version:
16 lines • 776 B
TypeScript
import { PipeTransform } from '@angular/core';
import { DatePipe } from '@angular/common';
import * as i0 from "@angular/core";
/**
* A moment timezone pipe to support parsing based on time zone abbreviations
* covers all cases of offset variation due to daylight saving.
*
* Same API as DatePipe with additional timezone abbreviation support
* Official date pipe dropped support for abbreviations names from Angular V5
*/
export declare class MomentDatePipe extends DatePipe implements PipeTransform {
transform(value: string | Date, format?: string, timezone?: string): any;
static ɵfac: i0.ɵɵFactoryDeclaration<MomentDatePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<MomentDatePipe, "momentDate", false>;
}
//# sourceMappingURL=date.pipe.d.ts.map