From 0423b43b1761a9c5d86888426643d69015b15e3a Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 5 May 2014 07:54:56 -0400 Subject: [PATCH] Bug 8769: (follow-up) undo change to value of $today Signed-off-by: Galen Charlton --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index f89bb9afe5..639956b51a 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1780,7 +1780,7 @@ sub AddReturn { } # case of a return of document (deal with issues and holdingbranch) - my $today = dt_from_string( $return_date, 'iso' ); + my $today = DateTime->now( time_zone => C4::Context->tz() ); if ($doreturn) { my $datedue = $issue->{date_due}; -- 2.39.5