fix: some stuff

This commit is contained in:
Max Richter
2025-10-24 16:06:16 +02:00
parent 84d1c5b6fd
commit 1a32af0503
4 changed files with 6 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ async function checkImage(image: ImageMetadata) {
const {
src: image,
loader = true,
caption,
pictureClass = "",
hash = true,
alt,

View File

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

Binary file not shown.

Binary file not shown.