{% import "@ChillDocStore/Macro/macro.html.twig" as m %} {% import "@ChillDocStore/Macro/macro_mimeicon.html.twig" as mm %} {% import '@ChillPerson/Macro/updatedBy.html.twig' as mmm %} {% set c = document.calendar %}
{{ document.storedObject.template.name|localize_translatable_string }}
{% if c.endDate.diff(c.startDate).days >= 1 %} {{ c.startDate|format_datetime('short', 'short') }} - {{ c.endDate|format_datetime('short', 'short') }} {% else %} {{ c.startDate|format_datetime('short', 'short') }} - {{ c.endDate|format_datetime('none', 'short') }} {% endif %}