mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
fix: add tooltip to comment timestamp for better context
This commit is contained in:
@@ -119,7 +119,9 @@
|
||||
>
|
||||
{/if}
|
||||
</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
|
||||
>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user