http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12847

--- Comment #23 from Jonathan Druart <[email protected]> ---
Kyle,
I am not able to reproduce the issue, and looking at the cait's data:
 issuedate: '2015-04-15 16:16:14'
 lastreneweddate: NULL

I really don't understand how this code (C4::Members::IssueSlip)

2443         if ((substr $it->{'issuedate'}, 0, 10) eq $now || (substr
$it->{'lastreneweddate'}, 0, 10) eq $now) {     
2444             $it->{'now'} = 1;                                              
2445         }
2446         elsif ((substr $it->{'date_due'}, 0, 10) le $now) {                
2447             $it->{'overdue'} = 1;
2448         }

could set overdue :)

All what I know is that in 3.18.05.1, GetPendingIssues does some stuff with the
date_due using DateTime::Format::DateParse, which has been removed from master.

Anyway, the overdue flag is set in GetPendingIssues, why don't you remove all
the code around the date manipulations?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to