3 changed files with 9 additions and 6 deletions
@ -0,0 +1,5 @@ |
|||||
|
- var timeAgo = moment.duration(moment.utc(new Date()).diff(moment.utc(new Date(parseInt(timeAgoTime) * 1000)))); |
||||
|
|
||||
|
span |
||||
|
span(data-toggle="tooltip", title=(timeAgo.format() + " ago")) |
||||
|
i(class="far fa-clock") |
Loading…
Reference in new issue