]> git.koha-community.org Git - koha.git/commit
Bug 9211 - days_between wrong behaviour
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 4 Dec 2012 18:32:28 +0000 (15:32 -0300)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 1 Feb 2013 08:42:00 +0000 (21:42 +1300)
commit847df9ab3fca2ef30cf2069a82e719b889e84332
tree4a721579cd38cc8e4d96fa82c45097e83802b83a
parent344d9ec63dd3401a8f59f4f233dfb68db6e054c2
Bug 9211 - days_between wrong behaviour

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 (Bug 9209).

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Added Paul's sign-off line, as despite it showing up in Bugzilla, it
wasn't on the patch.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Koha/Calendar.pm