[open-ils-commits] r9953 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jul 1 21:34:40 EDT 2008
Author: miker
Date: 2008-07-01 21:34:39 -0400 (Tue, 01 Jul 2008)
New Revision: 9953
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
converting time-interval to text-interval
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-02 01:15:38 UTC (rev 9952)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2008-07-02 01:34:39 UTC (rev 9953)
@@ -570,7 +570,10 @@
my $due = $due_dt->epoch;
my $now = time;
- my $fine_interval = interval_to_seconds( $c->fine_interval );
+
+ my $fine_interval = $c->fine_interval;
+ $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') ) {
my $tz_offset_s = 0;
More information about the open-ils-commits
mailing list