Removing suffix on from now.

This commit is contained in:
Dessalines 2020-03-04 14:24:45 -05:00
parent d6b8c68b11
commit dab85b09d0
1 changed files with 2 additions and 2 deletions

View File

@ -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>
);
}