From dfbf2ed05ca098f399df9b08b7344d898a9b774f Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Wed, 22 Jun 2011 17:58:25 +0100 Subject: [PATCH] Bug 5549 : Show time due in opac-detail --- opac/opac-detail.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 27684d4812..b5702159db 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -47,6 +47,7 @@ use MARC::Record; use MARC::Field; use List::MoreUtils qw/any none/; use C4::Images; +use Koha::DateUtils; BEGIN { if (C4::Context->preference('BakerTaylorEnabled')) { @@ -494,7 +495,7 @@ for my $itm (@items) { # I can't actually find any case in which this is defined. --amoore 2008-12-09 $itm->{ $itm->{'publictype'} } = 1; } - $itm->{datedue} = format_date($itm->{datedue}); + $itm->{datedue} = format_sqldatetime($itm->{datedue}); $itm->{datelastseen} = format_date($itm->{datelastseen}); # get collection code description, too -- 2.20.1