[freeside-commits] freeside/bin import-did-inventory,1.15,1.16
Erik Levinson
levinse at wavetail.420.am
Wed Jun 15 16:44:50 PDT 2011
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv4918/bin
Modified Files:
import-did-inventory
Log Message:
DID inventory/import / bulk DID orders - phase 2, RT12754
Index: import-did-inventory
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/import-did-inventory,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- import-did-inventory 15 Jun 2011 23:40:33 -0000 1.15
+++ import-did-inventory 15 Jun 2011 23:44:48 -0000 1.16
@@ -94,9 +94,9 @@
$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
More information about the freeside-commits
mailing list