From: levinse Date: Wed, 15 Jun 2011 23:44:48 +0000 (+0000) Subject: DID inventory/import / bulk DID orders - phase 2, RT12754 X-Git-Tag: freeside_2_3_0~117 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=e4ddd58aa20702f35734537cf7fe30f0a9acc920;hp=034e81cf576cd02390e2b65fef0592cf023767d9 DID inventory/import / bulk DID orders - phase 2, RT12754 --- diff --git a/bin/import-did-inventory b/bin/import-did-inventory index 19cef8ce7..298e159f4 100644 --- a/bin/import-did-inventory +++ b/bin/import-did-inventory @@ -94,9 +94,9 @@ $latas{460} = 'SOUTHEAST FL GR-EA'; $latas{952} = 'TAMPA FLORIDA'; $latas{524} = 'KANSAS CITY'; -my $parser = new DateTime::Format::Natural( 'time_zone' => 'local' ); sub parsedt { my ($dt,$min,$max) = (shift,shift,shift); + my $parser = new DateTime::Format::Natural( 'time_zone' => 'local' ); my $epoch = $parser->parse_datetime($dt); warn "dt=$dt min=$min max=$max epoch=$epoch\n"; return $epoch->epoch