Correction on the ics calendar format, which was wrongly using ; instead of :
Refs #125
This commit is contained in:
parent
f79271520c
commit
40be723334
@ -5,8 +5,8 @@ X-WR-CALNAME:<%= t('title', scope: [:layouts, :application]).gsub(/'/, '’') %>
|
|||||||
X-WR-CALDESC:<%= t 'subtitle', scope: [:layouts, :application] %>
|
X-WR-CALDESC:<%= t 'subtitle', 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' %>
|
||||||
DTEND;<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
DTEND:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
||||||
UID:<%= event.id %>@agendadulibre.org
|
UID:<%= event.id %>@agendadulibre.org
|
||||||
SUMMARY:<%= event.title.gsub(',', '\,').gsub(';', '\;') %>
|
SUMMARY:<%= event.title.gsub(',', '\,').gsub(';', '\;') %>
|
||||||
URL:<%= event_url event %>
|
URL:<%= event_url event %>
|
||||||
|
@ -5,8 +5,8 @@ X-WR-CALNAME:<%= t('title', scope: [:layouts, :application]).gsub(/'/, '’') %>
|
|||||||
X-WR-CALDESC:<%= t 'subtitle', scope: [:layouts, :application] %>
|
X-WR-CALDESC:<%= t 'subtitle', scope: [:layouts, :application] %>
|
||||||
<% event = @event %>
|
<% event = @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' %>
|
||||||
DTEND;<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
DTEND:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
||||||
UID:<%= event.id %>@agendadulibre.org
|
UID:<%= event.id %>@agendadulibre.org
|
||||||
SUMMARY:<%= event.title %>
|
SUMMARY:<%= event.title %>
|
||||||
URL:<%= event_url event %>
|
URL:<%= event_url event %>
|
||||||
|
Loading…
Reference in New Issue
Block a user