🐛 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

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

Loading…
Cancel
Save