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

Documentation was inaccurate.
main
welpo 1 year ago
parent 793b063c77
commit 2e34e7e897
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -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 %}

Loading…
Cancel
Save