Skip to content

Commit ef77edd

Browse files
AugustinMauroycrowlKats
andauthoredMar 12, 2025··
Update frontend/utils/timeAgo.ts
Co-authored-by: Leo Kettmeir <[email protected]>
1 parent 3721c6e commit ef77edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎frontend/utils/timeAgo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ export function timeAgo(date: Date | string): string {
2020
// Force english because JSR is an English-only project
2121
// @ts-ignore - TS doesn't know about this API yet
2222
const formatter = new Intl.DurationFormat("en", { style: "long" });
23-
return formatter.format(duration);
23+
return formatter.format(duration) + " ago";
2424
}

0 commit comments

Comments
 (0)
Please sign in to comment.