{##} {% set isActive = isToday and now > item.timeStart and now <= item.timeEnd and not format == 'print' %} {% set color = structure.getColors(item.color ?? layer.getColor) %} {% set duration = item.allDay ? 30 : structure.timeDifference(item.timeStart, item.timeEnd) %}