Dynamically generate event calendar #332

Merged
a3thakra merged 25 commits from adi-ical into main 2021-09-27 16:20:20 -04:00
Owner

Closes #134

  • Dynamically generates the calendar before the export step
  • I tested it with google calendar, updates are propagating as expected (it takes a day for google calendar to get updated)

You can try adding this URL to your calendar to test things out: https://csclub.uwaterloo.ca/~a3thakra/csc/adi-ical/events.ics

Closes #134 - Dynamically generates the calendar before the export step - I tested it with google calendar, updates are propagating as expected (it takes a day for google calendar to get updated) You can try adding this URL to your calendar to test things out: https://csclub.uwaterloo.ca/~a3thakra/csc/adi-ical/events.ics
a3thakra added 2 commits 2021-09-22 23:00:42 -04:00
a3thakra requested review from n3parikh 2021-09-23 03:08:21 -04:00
a3thakra added 1 commit 2021-09-23 03:12:26 -04:00
continuous-integration/drone/push Build is passing Details
53f5ca675d
Undo time change for events
Author
Owner

I'll revert #53f5ca before merging

I'll revert #53f5ca before merging
n3parikh approved these changes 2021-09-26 20:29:23 -04:00
n3parikh left a comment
Owner

Can you post a diff between the old iCS and the new generated one?

Can you post a `diff` between the old iCS and the new generated one?
@ -0,0 +1,22 @@
---
Owner

This is already in main, can you rebase/merge in main?

This is already in main, can you rebase/merge in main?
@ -0,0 +21,4 @@
scale: "GREGORIAN",
x: { "X-WR-RELCALID": "3359A191-B19E-4B53-BADC-DFC084FC51C9" },
events: events.reverse().map(({ metadata }) => ({
id: `${new Date(metadata.date)
Owner

Will this break if we have more than one event on the same date?

Will this break if we have more than one event on the same date?
Author
Owner

same date and time, yes.

same date and time, yes.
a3thakra added 1 commit 2021-09-27 16:05:23 -04:00
continuous-integration/drone/push Build is passing Details
f1f837fe03
Revert "Undo time change for events"
This reverts commit 53f5ca675d.
a3thakra force-pushed adi-ical from f1f837fe03 to 072b7926a6 2021-09-27 16:07:43 -04:00 Compare
Author
Owner
@n3parikh here's the diff: https://www.jstoolset.com/diff/4a412168d660c28a
a3thakra merged commit 34fb652fb9 into main 2021-09-27 16:20:20 -04:00
a3thakra deleted branch adi-ical 2021-09-27 16:20:31 -04:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: www/www-new#332
No description provided.