Continue previous commit
This commit is contained in:
@ -13,6 +13,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% set id = page.extra.comments.id %}
|
||||
{% set date_locale = macros_translate::translate(key="date_locale", default="en-GB", language_strings=language_strings) %}
|
||||
|
||||
<section id="comments">
|
||||
{% if config.extra.comments.show_qr %}
|
||||
@ -185,7 +186,7 @@
|
||||
permalink.setAttribute("rel", "external nofollow");
|
||||
permalink.textContent = new Date(
|
||||
status.created_at
|
||||
).toLocaleString("{{ config.extra.comments.locale | default(value='en-IE') }}", {
|
||||
).toLocaleString("{{ date_locale }}", {
|
||||
dateStyle: "long",
|
||||
timeStyle: "short",
|
||||
});
|
||||
|
Reference in New Issue
Block a user