Bug 15683

Summary: Inconsistent population of lastreneweddate between AddRenewal and AddIssue
Product: Koha Reporter: Barton Chittenden <barton>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: abl, bugzilla, george, gmcharlt, kyle.m.hall, lisette, tmisilo
Version: 3.20   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Barton Chittenden 2016-01-27 17:40:44 UTC
When lastreneweddate is populated via C4::Circulation::AddRenewal, it is added as a date, whereas C4::Circulation::AddIssue stores it as DateTime, i.e. hours, minutes and seconds are populated.

Because of hourly loans, I think that it only makes sense to store lastreneweddate as a full datetime.