fix: some stuff

This commit is contained in:
Max Richter
2025-10-24 15:33:41 +02:00
parent 722182ece5
commit bfe968c78f
2 changed files with 4 additions and 3 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) {

Binary file not shown.