No more timezone referenced in ical. Should resolve #76

This commit is contained in:
echarp 2016-10-18 15:52:56 +02:00
parent aaaeb323bc
commit 0b4f398f61
1 changed files with 2 additions and 4 deletions

View File

@ -1,10 +1,8 @@
BEGIN:VCALENDAR BEGIN:VCALENDAR
VERSION:2.0 VERSION:2.0
PRODID:-//AgendaDuLibre.org PRODID:-//AgendaDuLibre.org
X-WR-CALNAME:Agenda du Libre X-WR-CALNAME:<%= t('title', scope: [:layouts, :application]).gsub(/'/, '') %>
X-WR-TIMEZONE:Europe/Paris X-WR-CALDESC:<%= t 'subtitle', scope: [:layouts, :application] %>
CALSCALE:GREGORIAN
X-WR-CALDESC:<%= t 'title', scope: [:layouts, :application] %>
<% @events.find_each do |event| %> <% @events.find_each do |event| %>
BEGIN:VEVENT BEGIN:VEVENT
DTSTART:<%= event.start_time.strftime '%Y%m%dT%H%M%S' %> DTSTART:<%= event.start_time.strftime '%Y%m%dT%H%M%S' %>