Angular's date pipe that transforms a date into various formats.
Questions tagged [date-pipe]
119 questions
1
vote
1 answer
Transforming Date in Two-Way Bound Property in Angular 2 App
I have a date being displayed in my Angular 2 app that is printing in an undesired format, like this: 2012-04-02T00:00:00.000Z
What I'd like to do is use Angular's date pipe to transform this data so it prints in a more human-friendly format. Is…

Rey
- 1,393
- 1
- 15
- 24
1
vote
1 answer
Using Angular's Date Pipe on Input with 2-Way Binding
I am aware of how to use Angular's date pipe with typical string interpolation examples and/or for loops. However, I have a situation that's different than both these scenarios - where I've created a kind of custom two-way binding in my Angular 2…

Rey
- 1,393
- 1
- 15
- 24
1
vote
1 answer
Angular 4 / Angular-cli: Date Polyfill with Internationalization API does not work
I can not seem to get the polyfill of the Internationalization API to work.
As stated in the docs (https://angular.io/docs/ts/latest/guide/pipes.html)
one simply needs to add a script to your index.html: