[open-ils-commits] r10130 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jul 25 13:34:46 EDT 2008
Author: miker
Date: 2008-07-25 13:34:38 -0400 (Fri, 25 Jul 2008)
New Revision: 10130
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
use more correct test (rather than a side-effect) to detect short durations circs
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-07-25 15:03:28 UTC (rev 10129)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-07-25 17:34:38 UTC (rev 10130)
@@ -579,7 +579,7 @@
$fine_interval =~ s/(\d{2}):(\d{2}):(\d{2})/$1 h $2 m $3 s/o;
$fine_interval = interval_to_seconds( $fine_interval );
- if ( interval_to_seconds( $c->fine_interval ) >= interval_to_seconds('1d') ) {
+ if ( $fine_interval >= interval_to_seconds('1d') ) {
my $tz_offset_s = 0;
if ($due_dt->strftime('%z') =~ /(-|\+)(\d{2}):?(\d{2})/) {
$tz_offset_s = $1 . interval_to_seconds( "${2}h ${3}m");
More information about the open-ils-commits
mailing list