Bug 36263

Summary: Incorrect subscription renewal dates
Product: Koha Reporter: wainuiwitikapark
Component: SerialsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 23.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description wainuiwitikapark 2024-03-07 01:02:24 UTC
A user on 23.05 tried to renew a subscription in the serials module via the renew button in the subscription details page.

After the renewal is submitted, the new date is incorrectly calculated. For example, when trying to renew a subscription, they entered the subscription start date of 1/03/2024, and renewed for the length of 12 months, but when attempting to renew again, the new start date calculated to 01/01/2025. They retested other renewal lengths (such as 4 weeks, 6 months etc), and in various scenarios the date continued to miscalculate.