mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-01-09 19:10:27 +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: {
|
methods: {
|
||||||
async loadReplies() {
|
async loadReplies() {
|
||||||
console.log(this.uploaderAvatarUrl);
|
|
||||||
if (!this.showingReplies && this.loadingReplies) {
|
if (!this.showingReplies && this.loadingReplies) {
|
||||||
this.showingReplies = true;
|
this.showingReplies = true;
|
||||||
return;
|
return;
|
||||||
|
@ -87,7 +87,12 @@
|
|||||||
<i class="i-fa6-solid:eye" />
|
<i class="i-fa6-solid:eye" />
|
||||||
<span class="pl-1" v-text="`${numberFormat(item.views)} •`" />
|
<span class="pl-1" v-text="`${numberFormat(item.views)} •`" />
|
||||||
</span>
|
</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" />
|
<span v-else-if="item.uploadedDate" class="pl-0.5" v-text="item.uploadedDate" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<div class="flex flex-auto gap-2">
|
<div class="flex flex-auto gap-2">
|
||||||
<span v-t="{ path: 'video.views', args: { views: addCommas(video.views) } }" />
|
<span v-t="{ path: 'video.views', args: { views: addCommas(video.views) } }" />
|
||||||
<span> | </span>
|
<span> | </span>
|
||||||
<span v-text="uploadDate" />
|
<span :title="new Date(video.uploadDate).toLocaleString()" v-text="uploadDate" />
|
||||||
</div>
|
</div>
|
||||||
<!-- Likes/dilikes -->
|
<!-- Likes/dilikes -->
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
|
Loading…
Reference in New Issue
Block a user