Skip to content

Commit e67bd89

Browse files
committed
PendingOwnerInviteRow: Use date-format-distance-to-now instead of moment-from-now
1 parent 7488c57 commit e67bd89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/pending-owner-invite-row.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626
</p>
2727
</div>
2828
<div local-class="date-column" data-test-date>
29-
{{moment-from-now @invite.created_at}}
29+
{{date-format-distance-to-now @invite.created_at addSuffix=true}}
3030
</div>
3131
<div>
3232
<button type="button" local-class="accept-button" data-test-accept-button {{on "click" (perform this.acceptInvitationTask)}}>Accept</button>
3333
<button type="button" local-class="decline-button" data-test-decline-button {{on "click" (perform this.declineInvitationTask)}}>Decline</button>
3434
</div>
3535
</div>
36-
{{/if}}
36+
{{/if}}

0 commit comments

Comments
 (0)