[open-ils-commits] r15693 - in branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application: . Circ (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 4 10:35:28 EST 2010
Author: miker
Date: 2010-03-04 10:35:25 -0500 (Thu, 04 Mar 2010)
New Revision: 15693
Modified:
branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
persisting the "clense" typo in 1.6
Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2010-03-04 15:28:07 UTC (rev 15692)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2010-03-04 15:35:25 UTC (rev 15693)
@@ -699,7 +699,7 @@
unless $U->is_true($patron->card->active);
my $expire = DateTime::Format::ISO8601->new->parse_datetime(
- cleanse_ISO8601($patron->expire_date));
+ clense_ISO8601($patron->expire_date));
$self->bail_on_events(OpenILS::Event->new('PATRON_ACCOUNT_EXPIRED'))
if( CORE::time > $expire->epoch ) ;
Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm 2010-03-04 15:28:07 UTC (rev 15692)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm 2010-03-04 15:35:25 UTC (rev 15693)
@@ -343,7 +343,7 @@
$date = clense_ISO8601($date);
if (!(interval_to_seconds($circ->duration) % 86400)) { # duration is divisible by days
- my $original_date = DateTime::Format::ISO8601->new->parse_datetime(cleanse_ISO8601($circ->due_date));
+ my $original_date = DateTime::Format::ISO8601->new->parse_datetime(clense_ISO8601($circ->due_date));
my $new_date = DateTime::Format::ISO8601->new->parse_datetime($date);
$date = $new_date->ymd . 'T' . $original_date->strftime('%T%z');
}
More information about the open-ils-commits
mailing list