FIX unsupported space after colon
also, added DTEND for easier parsing by some library
This commit is contained in:
parent
b69bd7f300
commit
ccbd9d2679
1 changed files with 7 additions and 6 deletions
|
@ -4,12 +4,13 @@ VERSION:2.0
|
|||
{% for nid, node in ror.calendar.nodes %}
|
||||
|
||||
BEGIN:VEVENT
|
||||
SUMMARY: {{node.title.0.value}}
|
||||
UID: node-{{node.nid.0.value}}@www.ondarossa.info
|
||||
DTSTAMP: {{node.created.0.value}}
|
||||
DTSTART: {{node.field_data_evento.0.value|date("Ymd\\THis")}}Z
|
||||
DURATION: PT1H
|
||||
URL: http://www.ondarossa.info{{node.path.0.alias}}
|
||||
SUMMARY:{{node.title.0.value}}
|
||||
UID:node-{{node.nid.0.value}}@www.ondarossa.info
|
||||
DTSTAMP:{{node.created.0.value|date("Ymd\\This")}}Z
|
||||
DTSTART:{{node.field_data_evento.0.value|date("Ymd\\THis")}}Z
|
||||
DURATION:PT1H
|
||||
DTEND:{{node.field_data_evento.0.value|date_modify("+1 hour")|date("Ymd\\THis")}}Z
|
||||
URL:http://www.ondarossa.info{{node.path.0.alias}}
|
||||
END:VEVENT
|
||||
{% endfor %}
|
||||
END:VCALENDAR
|
||||
|
|
Loading…
Reference in a new issue