From 7ea9fd001a5f5e7c2539ae5c69cd83311bd8f6d9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 4 Nov 2018 11:45:08 +0100 Subject: [PATCH] FIX dtstamp hours --- templates/calendar.ics.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/calendar.ics.twig b/templates/calendar.ics.twig index 0432d55..bb3b5ce 100644 --- a/templates/calendar.ics.twig +++ b/templates/calendar.ics.twig @@ -6,7 +6,7 @@ VERSION:2.0 BEGIN:VEVENT SUMMARY:{{node.title.0.value}} UID:node-{{node.nid.0.value}}@www.ondarossa.info -DTSTAMP:{{node.created.0.value|date("Ymd\\This")}}Z +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