Skip to content

Commit f711923

Browse files
committed
feat: add absolute time tooltip to notification timestamps
1 parent c87d2a0 commit f711923

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/popup/notification-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function createNotificationItem(notif, repoHeader, repoFullName, notifications)
277277
${
278278
notif.updated_at
279279
? `
280-
<span class="notification-time">${formatTimeAgo(notif.updated_at)}</span>
280+
<span class="notification-time" title="${escapeHtml(new Date(notif.updated_at).toLocaleString())}">${formatTimeAgo(notif.updated_at)}</span>
281281
`
282282
: ''
283283
}

0 commit comments

Comments
 (0)