summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-15 23:40:33 +0000
committerlevinse <levinse>2011-06-15 23:40:33 +0000
commit034e81cf576cd02390e2b65fef0592cf023767d9 (patch)
treeb0e91cd0324bbc0e80cbb26397522c9236b3168f /bin
parent6e37dc34de7b818e8ae57a8fb0a1b44d9f906505 (diff)
DID inventory/import / bulk DID orders - phase 2, RT12754
Diffstat (limited to 'bin')
-rw-r--r--bin/import-did-inventory1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/import-did-inventory b/bin/import-did-inventory
index a0ffb81..19cef8c 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)");