[Koha-patches] [PATCH] Fix for Bug 2377 - Review tags: format date according to system preference

Owen Leonard oleonard at myacpl.org
Tue Aug 17 15:01:58 CEST 2010


---
 tags/review.pl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tags/review.pl b/tags/review.pl
index 7b846b0..8ea282d 100755
--- a/tags/review.pl
+++ b/tags/review.pl
@@ -197,6 +197,9 @@ if ($filter = $input->param('approved_by')) {	# borrowernumber from link
 }
 $debug and print STDERR "filters: " . Dumper(\%filters);
 my $tagloop = get_approval_rows(\%filters);
+for ( @{$tagloop} ) {
+    $_->{date_approved} = format_date( $_->{date_approved} );
+}
 my $qstring = $input->query_string;
 $qstring =~ s/([&;])*\blimit=\d+//;		# remove pagination var
 $qstring =~ s/^;+//;					# remove leading delims
-- 
1.7.0.4



More information about the Koha-patches mailing list