From 899e3d8cb7c189c482c0737a3407ecc2d1542c1f Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Wed, 8 Oct 2025 18:33:19 +0100 Subject: [PATCH] refactor: remove day from dates --- src/utils/convertDate.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/convertDate.ts b/src/utils/convertDate.ts index 6de27dd..100f1fe 100644 --- a/src/utils/convertDate.ts +++ b/src/utils/convertDate.ts @@ -25,11 +25,11 @@ const days = [ const convertDate = (isoStamp: string) => { const unixSeconds = new Date(isoStamp) - const weekday = days[unixSeconds.getDay()] + // const weekday = days[unixSeconds.getDay()] const day = unixSeconds.getDate() const month = months[unixSeconds.getMonth()] const year = unixSeconds.getFullYear() - return `${weekday} ${day} ${month} ${year}` + return `${day} ${month} ${year}` } export { convertDate }