[Bug 43246] New: Entering dates with a keyboard creates due dates with time set to 00:00
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43246 Bug ID: 43246 Summary: Entering dates with a keyboard creates due dates with time set to 00:00 Initiative type: --- Sponsorship --- status: Product: Koha Version: 25.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: janne.seppanen@lahti.fi QA Contact: testopia@bugs.koha-community.org Target Milestone: --- One can enter due dates manually with the current datepicker in Koha. When picking dates from the calendar widget, Koha creates due dates with 23:59 as the latest return time on that date. However, when entering the date with a keyboard the time sets to 00:00, meaning that if the patron returns their loans on the due date, they're already late. There seems to have been a similar bug with the old date widget, maybe this bug has returned with the release of the new datepicker widget? https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34939 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43246 Lari Strand <lmstrand@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lmstrand@gmail.com --- Comment #1 from Lari Strand <lmstrand@gmail.com> --- Created attachment 203452 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203452&action=edit Bug 43246 - append 23:59 to datetime type flatpickr elements without time typed in on blur Test plan: 1. Apply patch 2. Navigate to circulation renewal screen or batch checkout page. 3. Test time-enabled datepicker fields (data-flatpickr-enable-time="true"): - Navigate to any circulation page with due date fields (e.g., circulation.tt, renew.tt, batch checkouts) - Type a date without time (e.g., "8.8.2026") - Leave the field (Tab or click elsewhere) - Verify time auto-fills with "23:59" Sponsored-by: Koha-Suomi Oy -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org