feat: show full upload date string on hover where possible

This commit is contained in:
Bnyro
2025-01-07 13:35:51 +01:00
parent c2fa0045ad
commit 56bcc1b90f
3 changed files with 7 additions and 3 deletions

View File

@@ -87,7 +87,12 @@
<i class="i-fa6-solid:eye" />
<span class="pl-1" v-text="`${numberFormat(item.views)} •`" />
</span>
<span v-if="item.uploaded > 0" class="pl-0.5" v-text="timeAgo(item.uploaded)" />
<span
v-if="item.uploaded > 0"
class="pl-0.5"
:title="new Date(item.uploaded).toLocaleString()"
v-text="timeAgo(item.uploaded)"
/>
<span v-else-if="item.uploadedDate" class="pl-0.5" v-text="item.uploadedDate" />
</div>
</div>