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