Skip to content

Commit

Permalink
Fetch events up to 180 days in advance instead of 90
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsapps authored Jan 18, 2025
1 parent 496483b commit 440cff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
)
Expand Down

0 comments on commit 440cff9

Please sign in to comment.