From 5f8923acbf2a13a0f697a7bd80f6af9953bcba8f Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Wed, 22 Jun 2011 17:48:30 +0100 Subject: [PATCH] Bug 5549 : Add Returned, checkout out time to Patron Circ History --- members/readingrec.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/members/readingrec.pl b/members/readingrec.pl index 05ade6ab94..2645edac75 100755 --- a/members/readingrec.pl +++ b/members/readingrec.pl @@ -76,10 +76,9 @@ foreach my $issue (@{$issues}){ $line{title} = $issue->{'title'}; $line{author} = $issue->{'author'}; $line{classification} = $issue->{'classification'} || $issue->{'itemcallnumber'}; - my $dt = dt_from_string($issue->{date_due}, 'sql'); - $line{date_due} = output_pref($dt); - $line{returndate} = format_date($issue->{'returndate'}); - $line{issuedate} = format_date($issue->{'issuedate'}); + $line{date_due} = format_sqldatetime($issue->{date_due}); + $line{returndate} = format_sqldatetime($issue->{returndate}); + $line{issuedate} = format_sqldatetime($issue->{issuedate}); $line{issuingbranch} = GetBranchName($issue->{'branchcode'}); $line{renewals} = $issue->{'renewals'}; $line{barcode} = $issue->{'barcode'}; -- 2.39.5