diff --git a/src/components/Memes.jsx b/src/components/Memes.jsx index e398e1b..217ad91 100644 --- a/src/components/Memes.jsx +++ b/src/components/Memes.jsx @@ -42,7 +42,10 @@ const Memes = () => { const imageObjects = newMemes.map(m => ({ id: m.id, - url: `${BASE_IMAGE_URL}/${m.id}.png` + timestamp: new Date(m.timestamp * 1000) + .toString().split(" ") + .splice(0, 4).join(" "), + url: `${BASE_IMAGE_URL}/${m.id}.png`, })); setImages(prev => [...prev, ...imageObjects]); @@ -101,7 +104,7 @@ const Memes = () => { {/* Dialog for enlarged image */} setSelectedImage(null)} style={{ width: '90vw', maxWidth: '720px' }}