TimeAgoPipe
Converts a date into the format "3 minutes ago", "5 hours ago" etc.
Example
- Implements: PipeTransform
constructor
method
(i18nService: I18nService) => TimeAgoPipetransform
method
(value: string | Date, nowVal?: string | Date) => stringWas this chapter helpful?