emailing html now for formatted messages

This commit is contained in:
2025-12-15 22:04:48 -05:00
parent 607939c468
commit 10c0bd953b
10 changed files with 702 additions and 200 deletions
+5
View File
@@ -0,0 +1,5 @@
export function formatDate(value: unknown) {
if (!value) return "—";
const d = new Date(value as any);
return Number.isNaN(d.getTime()) ? "—" : d.toLocaleString();
}