🐛 fix (format_date): set %-d %b %Y default

Documentation was inaccurate.
This commit is contained in:
welpo 2023-09-18 00:14:28 +02:00
parent 793b063c77
commit 2e34e7e897
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

View File

@ -33,7 +33,11 @@
{{ date | date(format="%B %Y") }}
{% endif %}
{% else %}
{{ date | date(format="%d %b %Y", locale=date_locale) }}
{% if short %}
{{ date | date(format="%-d %b %Y", locale=date_locale) }}
{% else %}
{{ date | date(format="%d %b %Y", locale=date_locale) }}
{% endif %}
{% endif %}
{% endmacro %}