From 7ce8570e24947df22b1f305167f15f63b719c054 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 15 Apr 2015 10:04:02 +0200 Subject: [PATCH] Bug 13813 - (follow-up) Remove C4::Dates from circ/bookcount.pl Previous patch was wrong for the lastdate format. We want a date formatted following the syspref value, not an iso formatted date. Signed-off-by: Jonathan Druart --- circ/bookcount.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/bookcount.pl b/circ/bookcount.pl index bce3bea..91ba79f 100755 --- a/circ/bookcount.pl +++ b/circ/bookcount.pl @@ -86,7 +86,7 @@ $template->param( biblioitemnumber => $bi, homebranch => $homebranch, holdingbranch => $holdingbranch, - lastdate => $lastdate ? output_pref({ dt => dt_from_string( $lastdate ), dateformat => 'iso', dateonly => 1 }) : 0, + lastdate => $lastdate ? output_pref({ dt => dt_from_string( $lastdate, 'iso' ), dateonly => 1 }) : 0, count => $count, branchloop => $branchloop, ); -- 2.1.0