From 67bf6ed51e54905d503d63418420a628eacaee19 Mon Sep 17 00:00:00 2001 From: Adam Trojak <143853180+Trojak0@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:33:57 -0500 Subject: [PATCH 1/2] created button for downloading schedule csv for calendar --- src/components/Schedule.astro | 71 +++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/src/components/Schedule.astro b/src/components/Schedule.astro index f486996..c65e264 100644 --- a/src/components/Schedule.astro +++ b/src/components/Schedule.astro @@ -118,6 +118,9 @@ const concluded = calculateAbsoluteDate({ Jump to Nearest Date + + Download Calendar CSV + ) }
@@ -261,4 +264,72 @@ const concluded = calculateAbsoluteDate({ jumpToDate(); }); +
From a18e15c9ac1b4f93854446a9477f4e1b9800fbc7 Mon Sep 17 00:00:00 2001 From: Adam Trojak <143853180+Trojak0@users.noreply.github.com> Date: Thu, 28 Aug 2025 15:51:54 -0500 Subject: [PATCH 2/2] removed old implementation parsing code --- src/components/Schedule.astro | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Schedule.astro b/src/components/Schedule.astro index c65e264..6c8c745 100644 --- a/src/components/Schedule.astro +++ b/src/components/Schedule.astro @@ -307,10 +307,8 @@ const concluded = calculateAbsoluteDate({ dataArray.push(""); // For description // Connects the pushed strings - if ((i + 1) % 1 === 0) { csvData.push(dataArray.join(',')); dataArray.length = 0; // resets array - } } // Combine all lines