aboutsummaryrefslogtreecommitdiffstats
path: root/program.ics.erb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-10 20:26:24 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-10-10 20:26:24 +0200
commitd08fa4e375748f0f2232ea75645cb15126155047 (patch)
treea157b2419601c8abc77ac1b72405a5aab3fcb779 /program.ics.erb
parent51ef51bbe3b741a76d1d44b8ce8c1d8a07427e1f (diff)
downloadramaskrik-program-d08fa4e375748f0f2232ea75645cb15126155047.tar.gz
ramaskrik-program-d08fa4e375748f0f2232ea75645cb15126155047.tar.bz2
ramaskrik-program-d08fa4e375748f0f2232ea75645cb15126155047.zip
Updates for Ramaskrik 2024
- Don't hardcode year, use todays year instead. - Move output to separate build dir to make it a bit cleaner. - Misc fixes to set correct timezone in .ics file (still hardcoded, though...)
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