Bugzilla – Attachment 77622 Details for
Bug 21188
t/db_dependent/Circulation/issue.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21188: Convert return_date to a DateTime object
Bug-21188-Convert-returndate-to-a-DateTime-object.patch (text/plain), 885 bytes, created by
Nick Clemens (kidclamp)
on 2018-08-09 13:29:18 UTC
(
hide
)
Description:
Bug 21188: Convert return_date to a DateTime object
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-08-09 13:29:18 UTC
Size:
885 bytes
patch
obsolete
>From dffd5e463f5a445b819600ff163d22c43e60553a Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 9 Aug 2018 13:28:27 +0000 >Subject: [PATCH] Bug 21188: Convert return_date to a DateTime object > >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index a1f86b9..b772a7a 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1988,7 +1988,7 @@ sub AddReturn { > > if ( $issue and $issue->is_overdue ) { > # fix fine days >- $today = $return_date if $return_date; >+ $today = dt_from_string($return_date) if $return_date; > $today = $dropboxdate if $dropbox; > my ($debardate,$reminder) = _debar_user_on_return( $patron_unblessed, $item, dt_from_string($issue->date_due), $today ); > if ($reminder){ >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21188
:
77622
|
77627