From 678ffece69e1674220f36439abfc2d3dadeb39f8 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 26 Aug 2020 21:14:50 +0200 Subject: [PATCH] Bug 21066: (QA follow-up) Fix publication date display in OPAC The date would no longer show, changed the variable name and removed the hours, as the field in the database is a date and not a datetime. Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt index 2288fc6b9f..23709abcaf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt @@ -94,7 +94,7 @@
[% koha_new.content | $raw %]
- Published on [% koha_new.timestamp | $KohaDates with_hours = 1 %] + Published on [% koha_new.publicationdate | $KohaDates %] [% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by [% koha_new.author_title | html %] [% koha_new.author_firstname | html %] [% koha_new.author_surname | html %] [% END %] -- 2.11.0