@@ -10,7 +10,8 @@ DTSTART:19700101T000000Z
1010TZOFFSETFROM :+0000
1111TZOFFSETTO :+0000
1212END :STANDARD
13- END :VTIMEZONE{% for conf in site.data.conferences %}
13+ END :VTIMEZONE
14+ {% for conf in site.data.conferences %}
1415{%- if conf.cfp_ext -%}
1516 {%- assign cfp = conf.cfp_ext -%}
1617 {%- assign extended = "(extended)" -%}
@@ -19,34 +20,34 @@ END:VTIMEZONE{% for conf in site.data.conferences %}
1920 {%- assign extended = "" -%}
2021{%- endif -%}
2122{%- capture desc -%}<a href="{{conf.link}}">{{ conf.conference }} {{ conf.year }}</a> found on <a href="https://pythondeadlin.es">PythonDeadlin.es</a>.{%- endcapture -%}
22- {% if conf.workshop_deadline and conf.workshop_deadline != "TBA" %}
23+ {%- if conf.workshop_deadline and conf.workshop_deadline != "TBA" - %}
2324BEGIN :VEVENT
2425SUMMARY :{{ conf.conference }} {{ conf.year }} Workshop Deadline
2526UID :{{ conf.conference | slugify: "latin" }}-{{ conf.year }}
[email protected] 2627DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
27- DTSTART :{{ conf.workshop_deadline | date: "%Y%m%dT%H%M%SZ" }}
28+ DTSTART :{{ conf.workshop_deadline | to_utc: conf.timezone }}
2829{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
2930ORGANIZER ;
CN=PythonDeadlines :mailto:
[email protected] 3031END :VEVENT
31- {% endif %}
32- {% if conf.tutorial_deadline and conf.tutorial_deadline != "TBA" %}
32+ {%- endif - %}
33+ {%- if conf.tutorial_deadline and conf.tutorial_deadline != "TBA" - %}
3334BEGIN :VEVENT
3435SUMMARY :{{ conf.conference }} {{ conf.year }} Tutorial Deadline
3536UID :{{ conf.conference | slugify: "latin" }}-{{ conf.year }}
[email protected] 3637DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
37- DTSTART :{{ conf.tutorial_deadline | date: "%Y%m%dT%H%M%SZ" }}
38+ DTSTART :{{ conf.tutorial_deadline | to_utc: conf.timezone }}
3839{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
3940ORGANIZER ;
CN=PythonDeadlines :mailto:
[email protected] 4041END :VEVENT
41- {% endif %}
42- {% if cfp != "TBA" and cfp != "None" and cfp != "Cancelled" %}
42+ {%- endif - %}
43+ {%- if cfp != "TBA" and cfp != "None" and cfp != "Cancelled" - %}
4344BEGIN :VEVENT
4445SUMMARY :{{ conf.conference }} {{ conf.year }} Deadline {{ extended }}
4546UID :{{ conf.conference | slugify: "latin" }}-{{ conf.year }}@pythondeadlin.es
4647DTSTAMP :{{ site.time | date: "%Y%m%dT%H%M%SZ" }}
47- DTSTART :{{ cfp | date: "%Y%m%dT%H%M%SZ" }}
48+ DTSTART :{{ cfp | to_utc: conf.timezone }}
4849{{ desc | prepend: "DESCRIPTION:" | normalize_whitespace | wrap_lines }}
4950ORGANIZER ;
CN=PythonDeadlines :mailto:
[email protected] 5051END :VEVENT
51- {% endif %}{% endfor %}
52+ {%- endif - %}{% endfor %}
5253END :VCALENDAR
0 commit comments