-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathevents.ics
32 lines (32 loc) · 1.08 KB
/
events.ics
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
layout: null
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:https://christchurch.ruby.nz/
METHOD:PUBLISH
{%- assign recent_events = site.events | reverse | slice: 0, 6 -%}
{%- for event in recent_events reversed %}
BEGIN:VEVENT
UID:{{ event.date | date: "%Y%m%d" }}@christchurch.ruby.nz
DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%S" }}
ORGANIZER;CN="Christchurch Ruby Team":MAILTO:[email protected]
LOCATION:{{ event.location }}
SUMMARY:[chch-ruby] {{ event.title | remove: ',' | remove: ';' }}
CLASS:PUBLIC
DTSTART:{{ event.date | date: "%Y%m%d" }}T{{ event.time | date: "%H%M%S" }}
DTDURATION:PT2H
END:VEVENT
{%- endfor %}
{%- assign last_scheduled_event = recent_events | first %}
BEGIN:VEVENT
DTSTAMP:{{ site.time | date: "%Y%m%dT%H%M%S" }}
DTSTART:{{ last_scheduled_event.date | date: "%Y%m%d" }}T193000
DTDURATION:PT2H
RRULE:FREQ=MONTHLY;BYDAY=3TH
SUMMARY:Christchurch Ruby Meetup
DESCRIPTION:Monthly meetup. Details TBA. Time and location are typical\, but may change for a specific meetup
LOCATION:Saltworks\, 4 Ash Street\, Christchurch
END:VEVENT
END:VCALENDAR