HomeVendure CoreShow hidden breadcrumbs...PipesTimeAgoPipeOn this pageTimeAgoPipe@vendure/admin-uiSource Converts a date into the format "3 minutes ago", "5 hours ago" etc. Example HTML{{ order.orderPlacedAt | timeAgo }} Signatureclass TimeAgoPipe implements PipeTransform { constructor(i18nService: I18nService) transform(value: string | Date, nowVal?: string | Date) => string;} Implements: PipeTransform transformmethod(value: string | Date, nowVal?: string | Date) => stringWas this chapter helpful?It was helpfulIt wasn't helpfulReport IssuePreviousLocaleRegionNamePipeNextReact ComponentsEdited Apr 20, 2026ยทEdit this page