From a1616ea461306cfd9f6e4e31bd316c37d5b9a046 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 4 Nov 2018 13:03:18 +0100 Subject: [PATCH] add location --- templates/calendar.ics.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/calendar.ics.twig b/templates/calendar.ics.twig index bb3b5ce..9232225 100644 --- a/templates/calendar.ics.twig +++ b/templates/calendar.ics.twig @@ -8,6 +8,7 @@ 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 +LOCATION:{{node.field_luogo.0.value}} 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}}