This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user