From: levinse Date: Wed, 15 Jun 2011 23:40:33 +0000 (+0000) Subject: DID inventory/import / bulk DID orders - phase 2, RT12754 X-Git-Tag: freeside_2_3_0~118 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=034e81cf576cd02390e2b65fef0592cf023767d9 DID inventory/import / bulk DID orders - phase 2, RT12754 --- diff --git a/bin/import-did-inventory b/bin/import-did-inventory index a0ffb81ea..19cef8ce7 100644 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory @@ -98,6 +98,7 @@ my $parser = new DateTime::Format::Natural( 'time_zone' => 'local' ); sub parsedt { my ($dt,$min,$max) = (shift,shift,shift); my $epoch = $parser->parse_datetime($dt); + warn "dt=$dt min=$min max=$max epoch=$epoch\n"; return $epoch->epoch if ($parser->success && $epoch->epoch >= $min && $epoch->epoch <= $max); fatal("invalid date $dt (min=$min, max=$max)");