You've already forked AstralRinth
forked from didirus/AstralRinth
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:
@@ -35,7 +35,15 @@
|
|||||||
{{ formatCompactNumber(sumDownloads) }}
|
{{ formatCompactNumber(sumDownloads) }}
|
||||||
downloads
|
downloads
|
||||||
</div>
|
</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" />
|
<CalendarIcon class="h-6 w-6 text-secondary" />
|
||||||
Joined
|
Joined
|
||||||
{{ formatRelativeTime(user.created) }}
|
{{ formatRelativeTime(user.created) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user