馃悶 bug report
Affected Package
DatePipe
Is this a regression?
Description
When passing 0001-01-01T00:00:00Z into DatePipe it is being formatted as "12/31/0001 BC"
{{ledgerEntry.date | date: 'MM/dd/yyyy GGG':'UTC'}}
馃敩 Minimal Reproduction
https://stackblitz.com/edit/angular-sz4zdy?embed=1&file=src/app/app.component.html
馃敟 Exception or Error
馃實 Your Environment
Windows 10
Angular Version:
@angular-devkit/architect 0.13.6
@angular-devkit/build-angular 0.13.6
@angular-devkit/build-optimizer 0.13.6
@angular-devkit/build-webpack 0.13.6
@angular-devkit/core 7.3.6
@angular-devkit/schematics 0.8.4
@angular/cdk 6.4.7
@angular/cli 6.2.4
@angular/flex-layout 6.0.0-beta.15
@angular/material 6.4.7
@ngtools/webpack 7.3.6
@schematics/angular 0.8.4
@schematics/update 0.8.4
rxjs 6.1.0
typescript 2.7.2
webpack 4.29.0
Anything else relevant?
Tested in FireFox and Chrome
Nope
馃悶 bug report
Affected Package
DatePipe
Is this a regression?
Description
When passing 0001-01-01T00:00:00Z into DatePipe it is being formatted as "12/31/0001 BC"
{{ledgerEntry.date | date: 'MM/dd/yyyy GGG':'UTC'}}
馃敩 Minimal Reproduction
https://stackblitz.com/edit/angular-sz4zdy?embed=1&file=src/app/app.component.html
馃敟 Exception or Error
馃實 Your Environment
Windows 10
Angular Version:
Anything else relevant?
Tested in FireFox and Chrome
Nope