forked from ruby-conferences/ruby-conferences.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cfp.ics
32 lines (32 loc) · 1.11 KB
/
cfp.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://rubyconferences.org/cfp
METHOD:PUBLISH
{% for event in site.data.conferences %}
{% if event.cfp_open_date %}
BEGIN:VEVENT
UID:{{ event.cfp_open_date | date: "%Y%m%d" | append: event.name }}-cfp-open@rubyconferences.org
SUMMARY:{{ event.name }} CFP opens
LOCATION:{{ event.location | replace: ",", "\\," }}
CLASS:PUBLIC
URL:{% if event.cfp_link %}{{ event.cfp_link }}{% else %}{{ event.url }}{% endif %}
DTSTART;VALUE=DATE:{{ event.cfp_open_date | date: "%Y%m%d" }}
DTEND;VALUE=DATE:{{ event.cfp_open_date | date: "%Y%m%d" | plus: 1 }}
END:VEVENT
{% endif %}
{% if event.cfp_close_date %}
BEGIN:VEVENT
UID:{{ event.cfp_close_date | date: "%Y%m%d" | append: event.name }}-cfp-close@rubyconferences.org
SUMMARY:{{ event.name }} CFP closes
LOCATION:{{ event.location | replace: ",", "\\," }}
CLASS:PUBLIC
URL:{% if event.cfp_link %}{{ event.cfp_link }}{% else %}{{ event.url }}{% endif %}
DTSTART;VALUE=DATE:{{ event.cfp_close_date | date: "%Y%m%d" }}
DTEND;VALUE=DATE:{{ event.cfp_close_date | date: "%Y%m%d" | plus: 1 }}
END:VEVENT
{% endif %}
{% endfor %}
END:VCALENDAR