summaryrefslogtreecommitdiffstats
path: root/ui/src/components/moment-time.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-04 14:24:45 -0500
committerDessalines <tyhou13@gmx.com>2020-03-04 14:24:45 -0500
commit6495cd2f65a279eb0124bcef600194e30de5590c (patch)
tree202d626baf4c63d414350410cf6f922003781c9c /ui/src/components/moment-time.tsx
parent43f783db42b3b48cacd330ac0b3abb561cef7c54 (diff)
Removing suffix on from now.
Diffstat (limited to 'ui/src/components/moment-time.tsx')
-rw-r--r--ui/src/components/moment-time.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/moment-time.tsx b/ui/src/components/moment-time.tsx
index 76e5fe28..4aba68d2 100644
--- a/ui/src/components/moment-time.tsx
+++ b/ui/src/components/moment-time.tsx
@@ -36,7 +36,7 @@ export class MomentTime extends Component<MomentTimeProps, any> {
<svg class="icon icon-inline mr-1">
<use xlinkHref="#icon-edit-2"></use>
</svg>
- {moment.utc(this.props.data.updated).fromNow()}
+ {moment.utc(this.props.data.updated).fromNow(true)}
</span>
);
} else {
@@ -46,7 +46,7 @@ export class MomentTime extends Component<MomentTimeProps, any> {
className="pointer unselectable"
data-tippy-content={this.format(str)}
>
- {moment.utc(str).fromNow()}
+ {moment.utc(str).fromNow(true)}
</span>
);
}