[Koha-bugs] [Bug 25418] Backdated check out date loses time

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 11 16:20:22 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25418

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Victor, we store a "date" without the time part with "23:59". If a time part is
passed, then we store it.

When we display a "due date", we display it without 23:59 if the time part is
"23:59", which means the user has to check the item in that specific day
(without hour constraint). This is done using the TT plugin KohaDates, with the
as_due_date flag turned on.

The 23:59 is only removed for display purpose, if the due date is displayed in
an input field (like the green confirmation box), then the time part has to be
visible (for technical purpose only actually, to make the JS plugin work
correctly).

Hope it clarifies why it's sometimes visible and sometimes not.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list