This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/js/directives/ui/time-ago/time-ago.component.ts

13 lines
359 B
TypeScript

import { Input, Component } from 'ng-metadata/core';
/**
* A component that displays how long ago an event occurred, with associated
* tooltip showing the actual time.
*/
@Component({
selector: 'timeAgo',
templateUrl: '/static/js/directives/ui/time-ago/time-ago.component.html'
})
export class TimeAgoComponent {
@Input('<') public datetime: any;
}