From bd9fa9cf6526657373389bf8e73c864b36fe78eb Mon Sep 17 00:00:00 2001 From: mwinter Date: Mon, 2 Sep 2024 11:06:21 +0200 Subject: [PATCH] fixing minor sorting bug in talks --- portfolio-nuxt/pages/events.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/portfolio-nuxt/pages/events.vue b/portfolio-nuxt/pages/events.vue index 6e1c47e..d6416f7 100644 --- a/portfolio-nuxt/pages/events.vue +++ b/portfolio-nuxt/pages/events.vue @@ -70,6 +70,7 @@ transform: (events) => { for (const event of events) { let date = new Date(event.date) + event.date = date event.formatted_date = ("0" + (date.getMonth() + 1)).slice(-2) + "." + ("0" + date.getDate()).slice(-2) + "." + date.getFullYear() if(typeof event.title === 'string' || event.title instanceof String) {event.talks = [{'title': event.title}] } else {