-
Notifications
You must be signed in to change notification settings - Fork 1
/
calendar.ics
46 lines (39 loc) · 1.04 KB
/
calendar.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
36
37
38
39
40
41
42
43
44
45
46
---
layout:
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//rawfunkhamarishi.uk//
X-WR-CALNAME:Raw Funk Maharishi Gigs
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/London
TZURL:http://tzurl.org/zoneinfo-outlook/Europe/London
X-LIC-LOCATION:Europe/London
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:BST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:GMT
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
{% for gig in site.categories.gigs %}
{% capture start_time %}{{ gig.date | date: '%Y%m%d' }}T{{ gig.time | replace: ':', ''}}00{% endcapture %}
BEGIN:VEVENT
UID:{{ start_time }}@rawfunkmaharishi.uk
DTSTART;TZID=Europe/London:{{ start_time }}
DTEND;TZID=Europe/London:{{ gig.date | date: '%Y%m%d' }}T{{ gig.time | split: ':' | first | plus: 2 }}0000
SUMMARY:Raw Funk Maharishi live at {{ gig.title }}
DESCRIPTION:{{ gig.location }}
GEO:{{ gig.latitude }};{{ gig.longitude }}
END:VEVENT
{% endfor %}
END:VCALENDAR