From 018cd2f5dcfa3ab6482b1435cbf7f387bbc9b7b1 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 6 Nov 2007 15:24:04 -0600 Subject: [PATCH] Fix for bug 1477, hold dates not displaying in moremember.pl Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- members/moremember.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/members/moremember.pl b/members/moremember.pl index 302b186104..405cb99a4b 100755 --- a/members/moremember.pl +++ b/members/moremember.pl @@ -235,8 +235,7 @@ if ($borrowernumber) { foreach (qw(waiting transfered nottransfered)) { $getreserv{$_} = 0; } -# Joe this line fails, can you take a look please -# $getreserv{reservedate} = C4::Dates->new($num_res->{'reservedate'})->output() or die "Cannot get new($num_res->{'reservedate'}) from C4::Dates"; + $getreserv{reservedate} = C4::Dates->new($num_res->{'reservedate'},'iso')->output(C4::Context->preference('dateformat')); foreach (qw(biblionumber title author barcodereserv itemcallnumber )) { $getreserv{$_} = $getiteminfo->{$_}; } -- 2.39.5