forked from jennifer-hiller/psw
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconcerts.ics
46 lines (45 loc) · 1.55 KB
/
concerts.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: none
---
BEGIN:VCALENDAR
VERSION:2.0
PRODID:{{ site.url }}
URL:{{ site.url }}/concerts.ics
NAME: Peninsula Symphonic Winds Concerts
X-WR-CALNAME: Peninsula Symphonic Winds Concerts
DESCRIPTION: Scheduled concerts for the Peninsula Symphonic Winds in L.A. South Bay
X-WR-DESC: Scheduled concerts for the Peninsula Symphonic Winds in L.A. South Bay
TIMEZONE-ID:America/Los_Angeles
X-WR-TIMEZONE:America/Los_Angeles
REFRESH-INTERVAL;VALUE=DURATION:PT24H
X-PUBLISHED-TTL:PT24H
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
X-LIC-LOCATION:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
{% for season in site.data.concerts %}{% for concert in season.concerts %}BEGIN:VEVENT
UID:{{ concert.date | date: "%Y%m%d" }}@pswinds.org
ORGANIZER;CN="Organizer Name":MAILTO:[email protected]
LOCATION:{{ concert.address | replace: ",", "\," }}
SUMMARY:Concert: {{ concert.title }}
CLASS:PUBLIC
DTSTART;TZID=America/Los_Angeles:{{ concert.date | date: "%Y%m%d" }}{% if concert.time %}T{{ concert.time | date: "%H%M" }}00{% endif %}
DTEND;TZID=America/Los_Angeles:{{ concert.date | date: "%Y%m%d" }}{% if concert.time %}T{{ concert.time | date: "%H" | plus: 2 }}0000{% endif %}
DTSTAMP:{{ concert.date | date: "%Y%m%d" }}T170000Z
END:VEVENT
{% endfor %}{% endfor %}END:VCALENDAR