fix: some stuff
This commit is contained in:
@@ -7,8 +7,9 @@
|
|||||||
typeof d === "string" ? new Date(d) : d;
|
typeof d === "string" ? new Date(d) : d;
|
||||||
|
|
||||||
const iso = (d: string | Date) => {
|
const iso = (d: string | Date) => {
|
||||||
|
if(!d) return ""
|
||||||
const v = toDate(d);
|
const v = toDate(d);
|
||||||
return isNaN(v?.getTime()) ? "" : v.toISOString();
|
return isNaN(v.getTime()) ? "" : v.toISOString();
|
||||||
};
|
};
|
||||||
|
|
||||||
function formatRating(rating: string | number) {
|
function formatRating(rating: string | number) {
|
||||||
|
|||||||
BIN
src/content/photos/picos-de-europa/index.mdx
(Stored with Git LFS)
BIN
src/content/photos/picos-de-europa/index.mdx
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user