♻️ refactor: format date as "6 July 2049"
Follows Oxford's and other formal style manuals.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<span>{{ macros_format_date::format_date(date=page.date) }}</span>
|
||||
<span>{{ page.date | date(format=config.extra.date_format | default (value="%d %B %Y")) }}</span>
|
||||
{{ separator }}
|
||||
{% endif %}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if page.updated %}
|
||||
<br><span>Last updated on {{ macros_format_date::format_date(date=page.updated) }}</span>
|
||||
<br><span>Last updated on {{ page.updated | date(format=config.extra.date_format | default (value="%d %B %Y")) }}</span>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
|
Reference in New Issue
Block a user