use Timeago for timestamps
This commit is contained in:
parent
298e0af99e
commit
9fc7991808
2 changed files with 12 additions and 10 deletions
|
|
@ -167,7 +167,16 @@
|
|||
spin
|
||||
/>
|
||||
</span>
|
||||
{{ createdAt }}
|
||||
{{ ' ' }}
|
||||
<router-link
|
||||
class="timeago faint"
|
||||
:to="{ name: 'conversation', params: { id: message.id } }"
|
||||
>
|
||||
<Timeago
|
||||
:time="message.created_at"
|
||||
:auto-update="60"
|
||||
/>
|
||||
</router-link>
|
||||
</span>
|
||||
</template>
|
||||
</StatusContent>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue