From adf56d5c8d5d2954f9ff9c41b5679bcece72beaa Mon Sep 17 00:00:00 2001 From: "pmoreno.rodriguez" <60596353+pmoreno-rodriguez@users.noreply.github.com> Date: Tue, 3 Jan 2023 20:09:41 +0100 Subject: [PATCH] Revert "Use Grav global date/time format and translate it" This reverts commit c7064f9863693d4996a710bdbfc2e785ad60bc58. --- templates/formdata.html.twig | 4 ++-- templates/partials/archives.html.twig | 6 +++--- templates/partials/miniposts.html.twig | 8 ++++---- templates/partials/simplesearch_item.html.twig | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/formdata.html.twig b/templates/formdata.html.twig index 9e5e945..bff3f77 100644 --- a/templates/formdata.html.twig +++ b/templates/formdata.html.twig @@ -2,10 +2,10 @@ {% block content %}
-

{{ form.message }}

+

{{ form.message }}

- +

{{'FUTURE.FORM_SUMMARY'|t}}

diff --git a/templates/partials/archives.html.twig b/templates/partials/archives.html.twig index 22981b9..a4ca12c 100644 --- a/templates/partials/archives.html.twig +++ b/templates/partials/archives.html.twig @@ -1,8 +1,8 @@
diff --git a/templates/partials/simplesearch_item.html.twig b/templates/partials/simplesearch_item.html.twig index 1606849..3111f15 100644 --- a/templates/partials/simplesearch_item.html.twig +++ b/templates/partials/simplesearch_item.html.twig @@ -13,7 +13,7 @@
- {{ page.date|dateTranslate(config.system.pages.dateformat.short) }} + {{ page.date|date(config.system.pages.dateformat.short) }}

{{ page.summary|truncate(200)|raw }}