projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2302cc6
)
DID inventory/import / bulk DID orders - phase 2, RT12754
author
levinse
<levinse>
Wed, 15 Jun 2011 23:44:49 +0000
(23:44 +0000)
committer
levinse
<levinse>
Wed, 15 Jun 2011 23:44:49 +0000
(23:44 +0000)
bin/import-did-inventory
patch
|
blob
|
history
diff --git
a/bin/import-did-inventory
b/bin/import-did-inventory
index
70cf508
..
19a9c0c
100644
(file)
--- 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