summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorlevinse <levinse>2011-06-15 23:40:34 +0000
committerlevinse <levinse>2011-06-15 23:40:34 +0000
commit2302cc676b24f1e1da333c828d529a84553dfcd4 (patch)
tree2bc1f9bcc3c74ff2459a86beb09d0e24fa94811b /bin
parent4b23632edace6f1fc227575af633a1a08255866b (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 69125eba7..70cf50869 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)");