feat: last checked and next refresh

This commit is contained in:
2026-07-10 11:52:36 +02:00
parent cb31d4e8af
commit 1a683fbacf
8 changed files with 67 additions and 16 deletions
+6
View File
@@ -0,0 +1,6 @@
import { formatDistanceToNow } from "date-fns";
export function relativeTime(date: Date): string {
return formatDistanceToNow(date, {addSuffix: true, includeSeconds: false});
}