AndrewPoyntz / time-ago-pipe

An Angular pipe for converting a date string into a time ago
MIT License
130 stars 67 forks source link

Could auto update as time progresses #1

Closed AndrewPoyntz closed 7 years ago

AndrewPoyntz commented 7 years ago

At the moment, it'll update whenever Angular 2's change detection runs, but maybe it shouldn't rely on this & auto update when time actually changes the frequency of update time checks could be based on how long ago it was too - i.e. if the time was x hours ago, it probably doesn't make sense to check every minute!