Skip to content

Commit 554c3d7

Browse files
committed
Improved the handling of iCalendar timezone information -- instead of simplified VTIMEZONE information generated from a template, the VTIMEZONE information for a meeting's timezone is read from file (where it presumably has been generated from the Olson timezone database, for instance using vzic.
- Legacy-Id: 4954
1 parent 6e4d27c commit 554c3d7

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

ietf/templates/meeting/agendaREDESIGN.ics

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
{% load humanize %}{% autoescape off %}{% load ietf_filters %}BEGIN:VCALENDAR
22
VERSION:2.0
3-
METHOD:PUBLISH
4-
{% if meeting.time_zone %}BEGIN:VTIMEZONE
5-
TZID:{{meeting.time_zone}}
6-
BEGIN:STANDARD
7-
TZOFFSETFROM:{{meeting.time_zone_offset}}
8-
TZOFFSETTO:{{meeting.time_zone_offset}}
9-
TZNAME:{{meeting.time_zone}}
10-
DTSTART:19700101T000000
11-
END:STANDARD
12-
END:VTIMEZONE{% endif %}{% for slot in timeslots %}
3+
METHOD:PUBLISH{% if vtimezone %}
4+
{{vtimezone}}{% endif %}{% for slot in timeslots %}
135
BEGIN:VEVENT
146
UID:ietf-{{slot.meeting.number}}-{{slot.pk}}
157
SUMMARY:{% if slot.session.name %}{{slot.session.name}}{% else %}{% if slot.type.name == "Break" %}{{slot.name}}{% else %}{{slot.session.group.acronym|upper}} - {{slot.session.group.name}}{% endif%}{%endif%}

0 commit comments

Comments
 (0)