Display delta for dates up to 96h (4d) ago

This commit is contained in:
2025-06-16 17:52:02 +02:00
parent 59b0dbbea4
commit 18481c8dc9

View File

@@ -35,7 +35,7 @@ export const SignatureListItem = ({ signature }: SignatureListItemProps) => {
return "Just now";
} else if (diffMinutes < 60) {
return `${diffMinutes}m ago`;
} else if (diffHours < 24) {
} else if (diffHours < 96) {
return `${diffHours}h ago`;
} else {
return date.toLocaleString();