We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efad61a commit 0a98ffaCopy full SHA for 0a98ffa
frontend/utils/timeAgo.ts
@@ -1,3 +1,4 @@
1
+// Copyright 2024 the JSR authors. All rights reserved. MIT license.
2
export function timeAgo(date: Date | string): string {
3
const now = new Date();
4
const past = new Date(date);
0 commit comments