Bug 14918: [QA Follow-up] Correct enddate and use constant
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 23 Oct 2015 06:47:58 +0000 (08:47 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Oct 2015 13:13:21 +0000 (10:13 -0300)
commit304dd2b0512eb82962e0425d8183b15785252913
treee5ba9c180a6de8d6c3be2fc7e9f1df222045e91f
parentc43e10f06ea35ae17a6efcb24efc4280804cb682
Bug 14918: [QA Follow-up] Correct enddate and use constant

Corrected enddate (subtraction in the revised code must be an addition).
Replaced hardcoded 2 days by a constant.
Renamed the constant TWO_DAYS to PULL_INTERVAL.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested all three date formats.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/pendingreserves.pl