projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e70fc39
)
RT#37901: Galactic Telecom CDRs [overlap is better than a gap]
author
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 4 Dec 2015 05:15:34 +0000
(23:15 -0600)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Fri, 4 Dec 2015 05:21:12 +0000
(23:21 -0600)
FS/bin/freeside-cdr-portaone-import
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-cdr-portaone-import
b/FS/bin/freeside-cdr-portaone-import
index
9a02a72
..
5b28e3f
100644
(file)
--- a/
FS/bin/freeside-cdr-portaone-import
+++ b/
FS/bin/freeside-cdr-portaone-import
@@
-53,7
+53,7
@@
unless ($startdate) {
'hashref' => { 'cdrbatch' => {op=>'like', value=>'portaone-import%'}},
'order_by' => 'ORDER BY _date DESC LIMIT 1',
});
'hashref' => { 'cdrbatch' => {op=>'like', value=>'portaone-import%'}},
'order_by' => 'ORDER BY _date DESC LIMIT 1',
});
- $startdate = time2str("%Y-%m-%d %H:%M:%S", $lastbatch->_date
+ 1
) if $lastbatch;
+ $startdate = time2str("%Y-%m-%d %H:%M:%S", $lastbatch->_date) if $lastbatch;
}
$startdate ||= '2010-01-01 00:00:00'; #seems decently in the past
}
$startdate ||= '2010-01-01 00:00:00'; #seems decently in the past