I updated Angular to version 5 and get this error
It seems to me the error with pipe in this line
<h5>{{ event.date | date:"yyyy.MM.dd"}}</h5>.
<h5>{{ event.date | date:"yyyy.MM.dd"}}</h5>
Anybody knows how to fix this?
It seems you don't update your pipe since breacking change of angular 5 see: https://github.com/angular/angular/blob/master/CHANGELOG.md
the predefined formats (short, shortTime, shortDate, medium, ...) now use the patterns given by CLDR (like it was in AngularJS) instead of the ones from the intl API. You might notice some changes, e.g. shortDate will be 8/15/17 instead of 8/15/2017 for en-US.
the narrow version of eras is now GGGGG instead of G, the format G is now similar to GG and GGG.
the timezone Z will now output the ISO8601 basic format, e.g. +0100, you should now use ZZZZ to get GMT+01:00.
Also you need to provide your language in app.module like this:
1.4m articles
1.4m replys
5 comments
57.0k users