From a5e1ba00607c40596c814721387963b057adb7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sun, 15 Mar 2015 15:43:26 +0100 Subject: [PATCH] Bug 13813 - Remove C4::Dates from circ/circ/transferstoreceive.pl To test: Go to Home > Circulation > Transfers to your library (Circulation Reports - Transfers to receive) Verify that date in page title appears correcty Amendend following comment #58 /MV Signed-off-by: Jonathan Druart It ssemed that the amendent did not work out. Amended again following comment #58 / MV --- circ/transferstoreceive.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index 1beb6b3..30bceaa 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -25,7 +25,7 @@ use C4::Context; use C4::Output; use C4::Branch; # GetBranches use C4::Auth; -use C4::Dates qw/format_date/; +use Koha::DateUtils; use C4::Biblio; use C4::Circulation; use C4::Members; @@ -119,7 +119,7 @@ foreach my $br ( keys %$branches ) { $template->param( branchesloop => \@branchesloop, - show_date => format_date(C4::Dates->today('iso')), + show_date => output_pref({ dt => dt_from_string, dateonly => 1 }), TransfersMaxDaysWarning => C4::Context->preference('TransfersMaxDaysWarning'), latetransfers => $latetransfers ? 1 : 0, ); -- 1.7.10.4