From 20498ca9e3abe712aeaa27f4b9845dff9c15d7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Han=20Lee=20=7C=20=EC=9D=B4=ED=95=9C=EA=B2=B0?= <76910100+hanlee55@users.noreply.github.com> Date: Wed, 5 Mar 2025 02:05:44 +0000 Subject: [PATCH] Sort events in ascending order by date --- src/views/events/EventData.js | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/events/EventData.js b/src/views/events/EventData.js index 63a8919..d37035f 100644 --- a/src/views/events/EventData.js +++ b/src/views/events/EventData.js @@ -1,6 +1,7 @@ export const currentYear = 2025 // Array of events for the current year's PyCon +// Please ensure the events are listed in ascending order by date. export const events = [ { date: '1-2 March', @@ -14,22 +15,23 @@ export const events = [ location: 'Singapore Institute of Technology, Singapore', link: 'https://pycon.sg', }, - { - date: '26-27 Sep', - title: 'PyCon JP', - location: 'Hiroshima, Japan', - link: 'https://2025.pycon.jp/', - }, { date: '15-17 August', title: 'PyCon KR', location: 'Dongguk University, Seoul, South Korea', link: 'https://2025.pycon.kr/', - } + }, + { + date: '26-27 Sep', + title: 'PyCon JP', + location: 'Hiroshima, Japan', + link: 'https://2025.pycon.jp/', + }, ]; // Array of upcoming events for the next year +// Please ensure the events are listed in ascending order by date. export const upcomingEvents = [ // e.g. // {