Show absolute timestamps on hover

This commit is contained in:
Brandon Oxendine
2026-08-10 08:35:49 +02:00
committed by Rūdolfs Ošiņš
parent 20f5aa1f1e
commit 030b5fe1f1
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -5,6 +5,7 @@
import { push } from "@app/lib/router";
import {
authorForNodeId,
absoluteTimestamp,
formatTimestamp,
issueStatusBackgroundColor,
issueStatusColor,
@@ -89,7 +90,9 @@
<NodeId {...authorForNodeId(issue.author)} />
opened
<Id id={issue.id} clipboard={issue.id} />
{formatTimestamp(issue.timestamp)}
<span title={absoluteTimestamp(issue.timestamp)}>
{formatTimestamp(issue.timestamp)}
</span>
</div>
</div>
</div>
+3 -1
View File
@@ -12,6 +12,7 @@
import { push } from "@app/lib/router";
import {
authorForNodeId,
absoluteTimestamp,
formatTimestamp,
issueStatusBackgroundColor,
issueStatusColor,
@@ -219,7 +220,8 @@
<span>{@html action.summary}</span>
<span
style:margin-left="auto"
style:color="var(--color-text-tertiary)">
style:color="var(--color-text-tertiary)"
title={absoluteTimestamp(action.items[0].timestamp)}>
{formatTimestamp(action.items[0].timestamp)}
</span>
</div>