mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: add tooltip to comment timestamp for better context
This commit is contained in:
@@ -119,7 +119,9 @@
|
|||||||
>
|
>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<span class="shrink-0"
|
<span
|
||||||
|
class="shrink-0"
|
||||||
|
use:tooltip={`${new Date(node.createdAt * 1000).toLocaleString()} • ${dateToRelativeString(new Date(node.createdAt * 1000), true, true, now, 3)}`}
|
||||||
>{dateToRelativeString(new Date(node.createdAt * 1000), true, false, now, 2)}</span
|
>{dateToRelativeString(new Date(node.createdAt * 1000), true, false, now, 2)}</span
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user