mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-08 18:40:28 +05:30
feat: show full upload date string on hover where possible
This commit is contained in:
parent
c2fa0045ad
commit
56bcc1b90f
@ -93,7 +93,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
async loadReplies() {
|
||||
console.log(this.uploaderAvatarUrl);
|
||||
if (!this.showingReplies && this.loadingReplies) {
|
||||
this.showingReplies = true;
|
||||
return;
|
||||
|
@ -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>
|
||||
|
@ -47,7 +47,7 @@
|
||||
<div class="flex flex-auto gap-2">
|
||||
<span v-t="{ path: 'video.views', args: { views: addCommas(video.views) } }" />
|
||||
<span> | </span>
|
||||
<span v-text="uploadDate" />
|
||||
<span :title="new Date(video.uploadDate).toLocaleString()" v-text="uploadDate" />
|
||||
</div>
|
||||
<!-- Likes/dilikes -->
|
||||
<div class="flex gap-2">
|
||||
|
Loading…
Reference in New Issue
Block a user