Bug 26552 - Batch extend due date previews new due date as 00:00, but actually it's 23:59
Summary: Batch extend due date previews new due date as 00:00, but actually it's 23:59
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 25039
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-26 19:09 UTC by Katrin Fischer
Modified: 2021-06-14 21:29 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 26552 - Screenshots of date-times displayed (169.17 KB, application/pdf)
2020-09-29 07:41 UTC, David Nind
Details

Note You need to log in before you can comment on or make changes to this bug.
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.