@@ -, +, @@ members/guarantor_search.pl --- members/guarantor_search.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/members/guarantor_search.pl +++ a/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'} ); --