git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@15829
dcc99617-32d9-48b4-a31d-
7c20da2025e4
$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');
}