From 45ce20bcc6790f208dc396bb0cc6f7c0124d7e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sun, 15 Mar 2015 15:32:25 +0100 Subject: [PATCH] Bug 13813 - Remove C4::Dates from circ/waitingreserves.pl To test: Go to Home > Circulation > Holds awaiting pickup (Circulation Rports - Holds awaiting pickup) Verify that date in page title appears correcty --- circ/waitingreserves.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 502aafd..15c5d2a 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -25,12 +25,11 @@ use C4::Context; use C4::Output; use C4::Branch; # GetBranchName use C4::Auth; -use C4::Dates qw/format_date/; use C4::Circulation; use C4::Members; use C4::Biblio; use C4::Items; - +use Koha::DateUtils; use Date::Calc qw( Today Add_Delta_Days @@ -158,7 +157,7 @@ $template->param( reservecount => $reservcount, overloop => \@overloop, overcount => $overcount, - show_date => format_date(C4::Dates->today('iso')), + show_date => output_pref({ dt => DateTime->now(), dateonly => 1 }), ReservesMaxPickUpDelay => C4::Context->preference('ReservesMaxPickUpDelay') ); -- 1.7.10.4