remove @ in format date

This commit is contained in:
mbecker20
2024-06-14 14:48:22 -07:00
parent c14b395c70
commit 43cc0c3bc1
+1 -1
View File
@@ -3,7 +3,7 @@ import { Types } from "@monitor/client";
export const fmt_date = (d: Date) => {
const hours = d.getHours();
const minutes = d.getMinutes();
return `${fmt_month(d.getMonth())} ${d.getDate()} @ ${
return `${fmt_month(d.getMonth())} ${d.getDate()} ${
hours > 9 ? hours : "0" + hours
}:${minutes > 9 ? minutes : "0" + minutes}`;
};