]> Untitled Git - lemmy.git/commitdiff
Removing suffix on from now.
authorDessalines <tyhou13@gmx.com>
Wed, 4 Mar 2020 19:24:45 +0000 (14:24 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 4 Mar 2020 19:24:45 +0000 (14:24 -0500)
ui/src/components/moment-time.tsx

index 76e5fe289430e30e3cf2d53f59c578db536dc625..4aba68d2b9782395d774911e20d627ae17f33afb 100644 (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>
       );
     }