[Koha-bugs] [Bug 9211] New: days_between wrong behaviour

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 4 19:25:06 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9211

            Bug ID: 9211
           Summary: days_between wrong behaviour
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Holidays
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: tomascohen at gmail.com

As noted in comments #15, #16 and #17 of bug 8486, and its API,
Koha::Calendar->days_between should always returns a positive number
irrespective of the relative order of the parameters.
This is still an open bug, which arised when rewriting the Calendar.t file.

Already have a patch for it. Attaching in a minute.

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


More information about the Koha-bugs mailing list