Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f12e361

Browse files
author
samsep
committed
add suffix option to timeLapse
1 parent 7b6b699 commit f12e361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22

33
filter = ->
4-
(createdAt) ->
5-
moment(createdAt).fromNow()
4+
(createdAt, hideSuffix=false) ->
5+
moment(createdAt).fromNow(hideSuffix)
66

77
angular.module('appirio-tech-ng-ui-components').filter 'timeLapse', filter

0 commit comments

Comments
 (0)