From 757e1c91cce7ca41929c7ee870e75963a0d58914 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Tue, 11 May 2010 11:24:41 +0100 Subject: [PATCH] Bug 3928: Modified date should follow syspref Changed arriveddate format to follow syspref Fixed a whitespace error Signed-off-by: Galen Charlton --- serials/serials-edit.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index bd7d42090d..b407ca9123 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -122,7 +122,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my @serialdatalist; my %processedserialid; -my $today = C4::Dates->new(); +my $today = C4::Dates->new(); foreach my $tmpserialid (@serialids) { #filtering serialid for duplication @@ -134,7 +134,7 @@ foreach my $tmpserialid (@serialids) { my $data = GetSerialInformation($tmpserialid); $data->{publisheddate} = format_date( $data->{publisheddate} ); $data->{planneddate} = format_date( $data->{planneddate} ); - $data->{arriveddate}=$today->output('us'); + $data->{arriveddate}=$today->output('syspref'); $data->{'editdisable'} = ( ( HasSubscriptionExpired( $data->{subscriptionid} ) -- 2.39.5