From b7fd80417217937d58c84157ce0c923dc24eeca6 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Thu, 5 Nov 2026 16:08:41 -0600 Subject: [PATCH] Add calendar screen with .ics download --- frontend/src/routes/CalendarPage.svelte | 141 ++++++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 frontend/src/routes/CalendarPage.svelte diff --git a/frontend/src/routes/CalendarPage.svelte b/frontend/src/routes/CalendarPage.svelte new file mode 100644 index 0000000..91f8504 --- /dev/null +++ b/frontend/src/routes/CalendarPage.svelte @@ -0,0 +1,141 @@ + + +
Add a calendar in Settings first.
+{:else} ++ On iPhone, open the file and tap “Add All”. Each download holds what changed since the last one, so re-importing + doesn't duplicate events in Apple Calendar. + {#if calendar?.last_exported_at}Last download: {new Date(calendar.last_exported_at.replace(' ', 'T') + 'Z').toLocaleString()}.{/if} +
+{error}
+ {:else if events === null} +Loading…
+ {:else if view === 'grid'} +Nothing this month.
+ {:else} + {#each byDay as [day, list] (day)} +