Skip to content

Commit

Permalink
update alternates
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotRog committed Aug 14, 2024
1 parent 286aad3 commit 4c798f0
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 1,181 deletions.
2 changes: 1 addition & 1 deletion scripts/genAlternates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function parseAlternate(summary: string | undefined, description: string | undef
const prev: {[key: string]: PeriodObj[] | null} = JSON.parse(readFileSync('./output/alternates.json').toString());

// Fetch iCal source, parse
const raw = await (await fetch('https://gunn.pausd.org/cf_calendar/feed.cfm?type=ical&feedID=7654073B8805455AAB50D082A5DE0A70')).text();
const raw = await (await fetch('https://gunn.pausd.org/cf_calendar/feed.cfm?type=ical&feedID=3FC31A8EAE8A4918B2E582A69B519816')).text();
const calendar = Object.values(ical.parseICS(raw));

const fAlternates: {[key: string]: PeriodObj[]} = {};
Expand Down
Loading

0 comments on commit 4c798f0

Please sign in to comment.