Skip to content

Commit

Permalink
Merge pull request #17 from dxe/alex/more-events
Browse files Browse the repository at this point in the history
Fetch events up to 180 days in advance instead of 90
  • Loading branch information
jakehobbs authored Jan 19, 2025
2 parents 496483b + 440cff9 commit 4c14d9b
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 4c14d9b

Please sign in to comment.