From 703879cd40eca061be83f36ae841686554440cff Mon Sep 17 00:00:00 2001 From: Lukas Ruge <lukeslog@googlemail.com> Date: Sun, 12 Aug 2018 13:21:32 +0200 Subject: [PATCH] nope, need good old devision --- events.ics | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events.ics b/events.ics index f995ba20..b402e827 100644 --- a/events.ics +++ b/events.ics @@ -11,7 +11,7 @@ UID:{{ event.uid }} ORGANIZER;CN="Chaotikum e.V.":MAILTO:{{event.contact}} LOCATION:Chaotikum {% capture textSize %}{{ event.short | size }}{% endcapture %} -{% assign rounds = textSize | modulo: 70 %} +{% assign rounds = textSize | divided_by: 70 | plus 1 %} SUMMARY:{{ rounds }}:{{ event.short }} CLASS:PUBLIC DTSTART:{{ event.eventdate | date: "%Y%m%d" }}T{{ event.eventdate | date: "%H%M%S" }}Z -- GitLab