aboutsummaryrefslogtreecommitdiffstats
path: root/program.ics.erb
diff options
context:
space:
mode:
Diffstat (limited to 'program.ics.erb')
-rw-r--r--program.ics.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/program.ics.erb b/program.ics.erb
index 60c55bd..0e1835b 100644
--- a/program.ics.erb
+++ b/program.ics.erb
@@ -8,7 +8,7 @@ BEGIN:VEVENT
UUID:<%= e.slug %>
DTSTAMP;TZID=Europe/Oslo:<%= DateTime.now.strftime('%Y%m%dT%H%M%S') %>
DTSTART;TZID=Europe/Oslo:<%= e.start_time.strftime('%Y%m%dT%H%M%S') %>
-DURATION:PT<%= e.duration %>S
+DTEND;TZID=Europe/Oslo:<%= e.end_time.strftime('%Y%m%dT%H%M%S') %>
SUMMARY:<%= e.title %>
LOCATION:<%= e.venue %>
END:VEVENT