Interesting use of Observable interval https://stackoverflow.com/questions/36663148/angular-2-time-ago-pipe
Stack Overflow
Angular 2 "time ago" pipe
I am trying to create a 'time ago' pipe for my Angular 2 application.
It should transform a date to a string such as '5 minutes ago' or '60 seconds ago'. It works nicely so far, but it doesn't upd...
It should transform a date to a string such as '5 minutes ago' or '60 seconds ago'. It works nicely so far, but it doesn't upd...