@@ -2,13 +2,12 @@ BEGIN:VCALENDAR
22METHOD :PUBLISH
33VERSION :2.0
44PRODID :-//{{ site.url }}//{{ site.github_repo }}//EN
5- X-PUBLISHED-TTL :PT1H
6- {%- for conf in site.data.conferences -%}
7- {% if conf.cfp_ext %}{% assign cfp = conf.cfp_ext %}{% assign extended = "(extended)" %}{% else %}{% assign cfp = conf.cfp %}{% endif %}
5+ X-PUBLISHED-TTL :PT1H{% for conf in site.data.conferences %}
6+ {%- if conf.cfp_ext -%}{%- assign cfp = conf.cfp_ext -%}{%- assign extended = "(extended)" -%}{%- else -%}{%- assign cfp = conf.cfp -%}{%- endif -%}
87{% if conf.workshop_deadline and conf.workshop_deadline != "TBA" %}
98BEGIN :VEVENT
109SUMMARY :{{ conf.conference }} {{ conf.year }} Workshop Deadline
11- UID :{{conf.conference | slugify: "latin"}}-{{conf.year}}-workshop {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
10+ UID :{{conf.conference | slugify: "latin"}}-{{conf.year}}-workshop {%- if conf.timezone contains "UTC" - %} {%- assign tz = conf.timezone | split: "UTC" - %} {%- if tz[1] contains "-" - %} {%- assign tz = tz[1] | replace: "-", "+" - %} {%- else if tz[1] contains "+" - %} {%- assign tz = tz[1] | replace: "+", "-" - %} {%- else assign tz = tz[1] - %} {%- endif - %}
1211ORGANIZER :pythondeadlin.es
1312DESCRIPTION :<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
1413DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
@@ -18,11 +17,12 @@ ORGANIZER:pythondeadlin.es
1817DESCRIPTION :<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
1918DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
2019DTSTART ;TZID={{ conf.timezone }} :{{ conf.workshop_deadline | date: "%Y%m%dT%H%M%S" }}
21- {% endif %}END:VEVENT{% endif %}
20+ {% endif %}END:VEVENT
21+ {%- endif -%}
2222{% if conf.tutorial_deadline and conf.tutorial_deadline != "TBA" %}
2323BEGIN :VEVENT
2424SUMMARY :{{ conf.conference }} {{ conf.year }} Tutorial Deadline
25- UID :{{conf.conference | slugify: "latin"}}-{{conf.year}}-tutorial {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
25+ UID :{{conf.conference | slugify: "latin"}}-{{conf.year}}-tutorial {%- if conf.timezone contains "UTC" - %} {%- assign tz = conf.timezone | split: "UTC" - %} {%- if tz[1] contains "-" - %} {%- assign tz = tz[1] | replace: "-", "+" - %} {%- else if tz[1] contains "+" - %} {%- assign tz = tz[1] | replace: "+", "-" - %} {%- else assign tz = tz[1] - %} {%- endif - %}
2626ORGANIZER :pythondeadlin.es
2727DESCRIPTION :<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
2828DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
@@ -32,10 +32,12 @@ ORGANIZER:pythondeadlin.es
3232DESCRIPTION :<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
3333DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
3434DTSTART ;TZID={{ conf.timezone }} :{{ conf.tutorial_deadline | date: "%Y%m%dT%H%M%S" }}
35- {% endif %}END:VEVENT{% endif %}
36- {% if cfp != "TBA" %}BEGIN:VEVENT
35+ {% endif %}END:VEVENT
36+ {%- endif -%}
37+ {% if cfp != "TBA" %}
38+ BEGIN :VEVENT
3739SUMMARY :{{ conf.conference }} {{ conf.year }} Deadline {{ extended }}
38- UID :{{conf.conference | slugify: "latin"}}-{{conf.year}} {% if conf.timezone contains "UTC" %} {% assign tz = conf.timezone | split: "UTC" %} {% if tz[1] contains "-" %} {% assign tz = tz[1] | replace: "-", "+" %} {% else if tz[1] contains "+" %} {% assign tz = tz[1] | replace: "+", "-" %} {% else assign tz = tz[1] %} {% endif %}
40+ UID :{{conf.conference | slugify: "latin"}}-{{conf.year}} {%- if conf.timezone contains "UTC" - %} {%- assign tz = conf.timezone | split: "UTC" - %} {%- if tz[1] contains "-" - %} {%- assign tz = tz[1] | replace: "-", "+" - %} {%- else if tz[1] contains "+" - %} {%- assign tz = tz[1] | replace: "+", "-" - %} {%- else assign tz = tz[1] - %} {%- endif - %}
3941ORGANIZER :pythondeadlin.es
4042DESCRIPTION :<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.
4143DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
@@ -46,6 +48,5 @@ DESCRIPTION:<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> fo
4648DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
4749DTSTART ;TZID={{ conf.timezone }} :{{ cfp | date: "%Y%m%dT%H%M%S" }}
4850{% endif %}END:VEVENT
49- {% endif %}
50- {%- endfor -%}
51+ {%- endif -%}{% endfor %}
5152END :VCALENDAR
0 commit comments