From d08fa4e375748f0f2232ea75645cb15126155047 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 10 Oct 2024 20:26:24 +0200 Subject: 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...) --- program.ics.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program.ics.erb') 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 -- cgit v1.2.3