From 440cff91a5f535bce0c15d27e8d83812e719a7ec Mon Sep 17 00:00:00 2001 From: alexander taylor Date: Sat, 18 Jan 2025 12:11:54 -0800 Subject: [PATCH] Fetch events up to 180 days in advance instead of 90 --- src/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.js b/src/events.js index aa4f3d5..66ffe16 100644 --- a/src/events.js +++ b/src/events.js @@ -138,7 +138,7 @@ function updateSelectedChapter( document.getElementById("event-items-wrapper").innerHTML = ""; // update event listing shown using chapter fb id let startTime = new Date().addHours(-1).toISOString(); - let endtime = new Date().addHours(2160).toISOString(); + let endtime = new Date().addHours(180 * 24).toISOString(); fetch( `https://adb.dxe.io/external_events/${chapterID}?start_time=${startTime}&end_time=${endtime}`, )