fix: some stuff
Some checks failed
Deploy to SFTP Server / build (push) Failing after 8m19s

This commit is contained in:
Max Richter
2025-10-24 15:33:41 +02:00
parent 467dcbfd32
commit 1ca044fe13
2 changed files with 82 additions and 81 deletions

View File

@@ -7,8 +7,9 @@
typeof d === "string" ? new Date(d) : d;
const iso = (d: string | Date) => {
if(!d) return ""
const v = toDate(d);
return isNaN(v?.getTime()) ? "" : v.toISOString();
return isNaN(v.getTime()) ? "" : v.toISOString();
};
function formatRating(rating: string | number) {