mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-12 15:34:00 +00:00
Removing suffix on from now.
This commit is contained in:
parent
43f783db42
commit
6495cd2f65
1 changed files with 2 additions and 2 deletions
4
ui/src/components/moment-time.tsx
vendored
4
ui/src/components/moment-time.tsx
vendored
|
@ -36,7 +36,7 @@ export class MomentTime extends Component<MomentTimeProps, any> {
|
||||||
<svg class="icon icon-inline mr-1">
|
<svg class="icon icon-inline mr-1">
|
||||||
<use xlinkHref="#icon-edit-2"></use>
|
<use xlinkHref="#icon-edit-2"></use>
|
||||||
</svg>
|
</svg>
|
||||||
{moment.utc(this.props.data.updated).fromNow()}
|
{moment.utc(this.props.data.updated).fromNow(true)}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
@ -46,7 +46,7 @@ export class MomentTime extends Component<MomentTimeProps, any> {
|
||||||
className="pointer unselectable"
|
className="pointer unselectable"
|
||||||
data-tippy-content={this.format(str)}
|
data-tippy-content={this.format(str)}
|
||||||
>
|
>
|
||||||
{moment.utc(str).fromNow()}
|
{moment.utc(str).fromNow(true)}
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue