Koha/Koha
Tomas Cohen Arazi c6f1f64cb7 Bug 8251 - Patrons get incorrectly debarred
Patrons get incorrectly debarred because of the use of Datetime->delta_days
wich happens to always return a positive number.

Also changed the use of Datetime->truncate function so it follows the docs,
using 'day' instead of 'days' (which is used in DateTime::Duration).

This patch has been tested against master.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-06-20 23:24:24 +02:00
..
Cache Bug 8092 follow-up: Fix perlcritic violations 2012-06-14 17:56:56 +02:00
Indexer
Template/Plugin Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
Cache.pm Bug 8092: Cheer up Jenkins on loading Cache modules 2012-06-11 16:55:43 +02:00
Calendar.pm Bug 8251 - Patrons get incorrectly debarred 2012-06-20 23:24:24 +02:00
DateUtils.pm