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

14 lines
359 B
TypeScript
Raw Normal View History

2019-11-12 16:09:47 +00:00
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;
}