fix: add whitespace-control to date-range macro declaration

This commit is contained in:
2026-06-24 00:09:56 +02:00
parent 24ffa42499
commit 476c2c17ef
@@ -1,4 +1,4 @@
{% macro format_date_range(start_date, end_date) %}
{%- macro format_date_range(start_date, end_date) -%}
{%- if end_date is not empty and end_date|date('Y-m-d') != start_date|date('Y-m-d') -%}
{%- set sd = start_date|date('d') -%}
{%- set sm = start_date|date('M') -%}
@@ -16,4 +16,4 @@
{%- else -%}
{{- start_date|date('d M Y') -}}
{%- endif %}
{% endmacro %}
{%- endmacro -%}