@@ -, +, @@ news templates --- C4/NewsChannels.pm | 2 -- .../intranet-tmpl/prog/en/modules/tools/koha-news.tt | 17 +++++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) --- a/C4/NewsChannels.pm +++ a/C4/NewsChannels.pm @@ -116,8 +116,6 @@ sub get_opac_news { my $count = 0; while (my $row = $sth->fetchrow_hashref) { if ((($limit) && ($count < $limit)) || (!$limit)) { - $row->{'newdate'} = format_date($row->{'newdate'}); - $row->{'expirationdate'} = format_date($row->{'expirationdate'}); push @opac_news, $row; } $count++; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -1,20 +1,21 @@ +[% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › News [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] [% IF ( opac_news_count ) %] - - - [% INCLUDE 'datatables-strings.inc' %] - + + [% INCLUDE 'datatables.inc' %]