[freeside-commits] branch FREESIDE_3_BRANCH updated. dcd86d74f29aeb419890e5e989877305d2aaf59f
Jeremy Davis
jeremyd at 420.am
Thu May 22 13:20:43 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via dcd86d74f29aeb419890e5e989877305d2aaf59f (commit)
from 6793561f9463f93c211917cc6f5bd57ab8d1ca5e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dcd86d74f29aeb419890e5e989877305d2aaf59f
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu May 22 16:20:44 2014 -0400
29049 Fix date formatting in Zintel format
diff --git a/FS/FS/cdr/zintel.pm b/FS/FS/cdr/zintel.pm
index 0e44844..7d78d11 100644
--- a/FS/FS/cdr/zintel.pm
+++ b/FS/FS/cdr/zintel.pm
@@ -16,14 +16,7 @@ use FS::cdr qw(_cdr_date_parser_maker);
'accountcode', #customer
'src', #anumber
'dst', #bnumber
- sub { # OriginatingDate and OriginatingTime, two fields in the spec
- my ($cdr, $date) = @_;
- $date =~ /^(\d{2})\/(\d{2})\/(\d{4})\s*(\d{2}):(\d{2}):(\d{2})$/
- or die "unparseable date: $date";
- my $tmp_date = "$2/$1/$3 $4:$5:$6";
- $cdr->calldate($tmp_date);
- },#datetime
-
+ 'calldate', #datetime
'billsec', #duration
skip(3), #calltype
#status
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/zintel.pm | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
More information about the freeside-commits
mailing list