From d1ec82ca38b78cc45b890a281b5fca1790f0d605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Sun, 15 Mar 2015 10:58:51 +0100 Subject: [PATCH] Bug 13813 - Remove C4::Dates from members/guarantor_search.pl To test: Edit a patron's detail Add or modify guarantor information Do a search in popup "Search for guarantor" Verify that dates ob birth display correctly in list --- members/guarantor_search.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/members/guarantor_search.pl b/members/guarantor_search.pl index a9fe9dd..5bfba5a 100755 --- a/members/guarantor_search.pl +++ b/members/guarantor_search.pl @@ -25,7 +25,7 @@ use CGI qw ( -utf8 ); use C4::Auth; use C4::Output; -use C4::Dates qw/format_date/; +use Koha::DateUtils; use C4::Members; my $input = new CGI; @@ -82,7 +82,7 @@ if ( $member ne '' ) { zipcode => $results->[$i]{'zipcode'}, country => $results->[$i]{'country'}, branchcode => $results->[$i]{'branchcode'}, - dateofbirth => format_date( $results->[$i]{'dateofbirth'} ), + dateofbirth => output_pref({ dt => dt_from_string( $results->[$i]{'dateofbirth'}, , 'iso' ), dateonly => 1 }), borrowernotes => $results->[$i]{'borrowernotes'} ); -- 1.7.10.4