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

            Bug ID: 17001
           Summary: filtering overdue report by due date can fail if
                    TimeFormat is 12hr
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

When using the overdue report circ/overdue.pl, if the TimeFormat system
preference is set to 12-hour, setting a filter on the due date range can result
in zero overdue loans being displayed, even if there are ones that fall in the
range.

This happens because the date/time that gets passed to the SQL is formatted
incorrectly; rather than '2016-07-29 23:59', it gets passed as '2016-07-29
11:59 PM'; on many MySQL and MariaDB versions, that becomes NULL when cast to a
datetime.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to