fix time formatter
Some checks are pending
Deploy Website / deploy (push) Waiting to run
Deploy Backend / deploy (push) Successful in 5m48s

This commit is contained in:
Lee 2024-10-13 05:11:09 +01:00
parent 0f282fd003
commit aa4ef05b55

View File

@ -19,6 +19,7 @@ export function timeAgo(input: Date) {
{ unit: "d", seconds: 60 * 60 * 24 }, // days
{ unit: "h", seconds: 60 * 60 }, // hours
{ unit: "m", seconds: 60 }, // minutes
{ unit: "s", seconds: 1 }, // seconds
];
const result = [];