fix: add whitespace-control to date-range macro declaration
This commit is contained in:
@@ -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 -%}
|
||||
|
||||
Reference in New Issue
Block a user