forked from tomeshnet/tomesh.net
-
Notifications
You must be signed in to change notification settings - Fork 1
/
events.ics
35 lines (35 loc) · 1.15 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
33
34
35
---
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID://Toronto Mesh/Events//NONSGML v1.0//EN
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:America/Toronto
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD
END:VTIMEZONE
{% for post in site.posts limit:20 %}BEGIN:VEVENT
UID:{{ post.date | date: "%Y%m%d" }}@tomesh.net
ORGANIZER;CN="Toronto Mesh":MAILTO:{{ site.email }}
LOCATION:{{ post.location }}
SUMMARY:{{ post.title }}
URL:{{ post.url|strip | prepend: site.url }}
DESCRIPTION;ALTREP="{{ post.text|strip }} \n\nFor details, link here: {{ post.url|strip | prepend: site.url }}":{{ post.text|strip }} \n\nFor details, link here: {{ post.url|strip | prepend: site.url }}
DTSTART;TZID=America/Toronto:{{ post.date | date: "%Y%m%d" }}T{{ post.startTime | date:"%H%M%S" }}
DTEND;TZID=America/Toronto:{{ post.date | date: "%Y%m%d" }}T{{ post.endTime | date:"%H%M%S" }}
DTSTAMP:{{ post.date | date: "%Y%m%d" }}T{{ post.date | date:"%H%M%S" }}
END:VEVENT
{% endfor %}END:VCALENDAR