FIX unsupported space after colon

also, added DTEND for easier parsing by some library
This commit is contained in:
root 2018-11-04 11:43:19 +01:00
parent b69bd7f300
commit ccbd9d2679

View file

@ -6,9 +6,10 @@ VERSION:2.0
BEGIN:VEVENT BEGIN:VEVENT
SUMMARY:{{node.title.0.value}} SUMMARY:{{node.title.0.value}}
UID:node-{{node.nid.0.value}}@www.ondarossa.info UID:node-{{node.nid.0.value}}@www.ondarossa.info
DTSTAMP: {{node.created.0.value}} DTSTAMP:{{node.created.0.value|date("Ymd\\This")}}Z
DTSTART:{{node.field_data_evento.0.value|date("Ymd\\THis")}}Z DTSTART:{{node.field_data_evento.0.value|date("Ymd\\THis")}}Z
DURATION:PT1H 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}} URL:http://www.ondarossa.info{{node.path.0.alias}}
END:VEVENT END:VEVENT
{% endfor %} {% endfor %}