Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

Update apps/web/src/components/activity/comment-card.tsx

Tin Sever650418a5b22c
diff --git a/apps/web/src/components/activity/comment-card.tsx b/apps/web/src/components/activity/comment-card.tsx
index b99528644..ac0ee99b5 100644
--- a/apps/web/src/components/activity/comment-card.tsx
+++ b/apps/web/src/components/activity/comment-card.tsx
@@ -163,9 +163,14 @@ export default function CommentCard({
<Tooltip>
<TooltipTrigger asChild>
- <span className="cursor-default text-xs text-muted-foreground/62">
+ <time
+ dateTime={new Date(createdAt).toISOString()}
+ tabIndex={0}
+ className="cursor-default text-xs text-muted-foreground/62 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
+ >
{formatRelativeTime(createdAt)}
- </span>
+ </time>
+ </TooltipTrigger>
</TooltipTrigger>
<TooltipContent>
<p className="text-xs">{formatDateTime(createdAt)}</p>