fix: some stuff

This commit is contained in:
Max Richter
2025-10-24 15:53:52 +02:00
parent bfe968c78f
commit 84d1c5b6fd
3 changed files with 10 additions and 5 deletions

View File

@@ -9,6 +9,7 @@
const iso = (d: string | Date) => {
if(!d) return ""
const v = toDate(d);
if(!v) return ""
return isNaN(v.getTime()) ? "" : v.toISOString();
};