From 69a5ae7ac9b9f86a4fcc413d399d757db965f891 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Thu, 26 Aug 2021 09:32:57 +0200 Subject: [PATCH] Format page dates --- templates/page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/page.html b/templates/page.html index 7703323..6b4e7e4 100644 --- a/templates/page.html +++ b/templates/page.html @@ -12,12 +12,12 @@ {% if page.date and page.date is defined %}

- Published on: {{ page.date }} + Published on: {{ page.date | date(format="%A, %e %B %Y", timezone="Europe/Berlin") }}

{% endif %} {% if page.updated and page.updated != page.date %}

- Last updated on: {{ page.updated }} + Last updated on: {{ page.updated | date(format="%A, %e %B %Y", timezone="Europe/Berlin") }}

{% endif %}