diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index 30bceaadda..b369822375 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -119,7 +119,7 @@ foreach my $br ( keys %$branches ) { $template->param( branchesloop => \@branchesloop, - show_date => output_pref({ dt => dt_from_string, dateonly => 1 }), + show_date => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }), TransfersMaxDaysWarning => C4::Context->preference('TransfersMaxDaysWarning'), latetransfers => $latetransfers ? 1 : 0, ); diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index a8d3fe4700..577a926ea2 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -157,7 +157,7 @@ $template->param( reservecount => $reservcount, overloop => \@overloop, overcount => $overcount, - show_date => output_pref({ dt => dt_from_string, dateonly => 1 }), + show_date => output_pref({ dt => dt_from_string, dateformat => 'iso', dateonly => 1 }), ReservesMaxPickUpDelay => C4::Context->preference('ReservesMaxPickUpDelay') ); diff --git a/members/printinvoice.pl b/members/printinvoice.pl index 2175437e97..67bf11cbcf 100755 --- a/members/printinvoice.pl +++ b/members/printinvoice.pl @@ -89,7 +89,7 @@ for ( my $i = 0 ; $i < $numaccts ; $i++ ) { } my %row = ( - 'date' => output_pref({ dt => dt_from_string( $accts->[$i]{'date'}, 'iso' ), dateonly => 1 }), + 'date' => output_pref({ dt => dt_from_string( $accts->[$i]{'date'} ), dateonly => 1 }), 'amountcredit' => $accts->[$i]{'amountcredit'}, 'amountoutstandingcredit' => $accts->[$i]{'amountoutstandingcredit'}, 'toggle' => $accts->[$i]{'toggle'},