Changements format ical
This commit is contained in:
parent
467a21ac76
commit
d385c5c643
@ -7,12 +7,12 @@ CALSCALE:GREGORIAN
|
||||
X-WR-CALDESC:<%= t 'title', scope: [:layouts, :application] %>
|
||||
<% @events.find_each do |event| %>
|
||||
BEGIN:VEVENT
|
||||
DTSTART;TZID=Europe/Paris:<%= event.start_time.strftime '%Y%m%dT%H%M%S' %>
|
||||
DTEND;TZID=Europe/Paris:<%= event.end_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' %>
|
||||
UID:<%= event.id %>@agendadulibre.org
|
||||
SUMMARY:<%= event.title %>
|
||||
URL:<%= event_url event %>
|
||||
DESCRIPTION:<%= strip_tags(event.description).gsub(/\r/, '').gsub /^/, ' ' %>
|
||||
DESCRIPTION:<%= strip_tags(event.description).to_crlf.gsub(/\r/, '').gsub /^/, ' ' %>
|
||||
LOCATION:<%= event.full_address %>
|
||||
END:VEVENT
|
||||
<% end %>
|
||||
|
@ -12,7 +12,7 @@ DTEND;TZID=Europe/Paris:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %>
|
||||
UID:<%= event.id %>@agendadulibre.org
|
||||
SUMMARY:<%= event.title %>
|
||||
URL:<%= event_url event %>
|
||||
DESCRIPTION:<%= strip_tags(event.description).gsub(/\r/, '').gsub /^/, ' ' %>
|
||||
DESCRIPTION:<%= strip_tags(event.description).to_crlf.gsub(/\r/, '').gsub /^/, ' ' %>
|
||||
LOCATION:<%= event.full_address %>
|
||||
END:VEVENT
|
||||
END:VCALENDAR
|
||||
|
Loading…
Reference in New Issue
Block a user