Bug 26552

Summary: Batch extend due date previews new due date as 00:00, but actually it's 23:59
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: andrew, david, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25020
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 25039    
Bug Blocks:    
Attachments: Bug 26552 - Screenshots of date-times displayed

Description Katrin Fischer 2020-09-26 19:09:29 UTC
When using the Batch extend due date feature and you use the feature to shift the due date by x days into the future, the preview will show the new due date as 00:00, but it will actually move it to 23.59 (which is correct).

The preview should leave out the hour or show the correct one.
Comment 1 Andrew Fuerste-Henry 2020-09-28 11:53:18 UTC
Nice catch! Added a see also to 25020, where we told Koha to maintain the original time of the due date, rather than changing to 00:00:00.
Comment 2 Jonathan Druart 2020-09-28 13:01:04 UTC
On master I see New due date: 10/04/2020
There is no time part (as_due_date is set).
Comment 3 David Nind 2020-09-28 19:31:26 UTC
Related to bug 25039 at the time I tested it - comments 18 and 19.
Comment 4 Jonathan Druart 2020-09-29 07:31:55 UTC
This is caused by bug 25039
Comment 5 David Nind 2020-09-29 07:41:48 UTC
Created attachment 110888 [details]
Bug 26552 - Screenshots of date-times displayed

Screenshots showing how dates and date/times shown when using the batch extend due dates tool - after Bug 25039 applied.