feat(frontend): show date of user join (#2901)
* feat(frontend): show date of user join Shows and formats the date when the user joined, on hover. Can add `cursor-help` if wanted. Resolves #2243 * chore(frontend): lint
This commit is contained in:
parent
4bcdb3f495
commit
33ad04d036
@ -35,7 +35,15 @@
|
||||
{{ formatCompactNumber(sumDownloads) }}
|
||||
downloads
|
||||
</div>
|
||||
<div class="flex items-center gap-2 font-semibold">
|
||||
<div
|
||||
v-tooltip="
|
||||
formatMessage(commonMessages.dateAtTimeTooltip, {
|
||||
date: new Date(user.created),
|
||||
time: new Date(user.created),
|
||||
})
|
||||
"
|
||||
class="flex items-center gap-2 font-semibold"
|
||||
>
|
||||
<CalendarIcon class="h-6 w-6 text-secondary" />
|
||||
Joined
|
||||
{{ formatRelativeTime(user.created) }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user