[freeside-commits] freeside/bin import-did-inventory, 1.1.2.15, 1.1.2.16
Erik Levinson
levinse at wavetail.420.am
Wed Jun 15 16:44:51 PDT 2011
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv4931/bin
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.1.2.15
retrieving revision 1.1.2.16
diff -u -w -d -r1.1.2.15 -r1.1.2.16
--- import-did-inventory 15 Jun 2011 23:40:34 -0000 1.1.2.15
+++ import-did-inventory 15 Jun 2011 23:44:49 -0000 1.1.2.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