[freeside-commits] branch master updated. 8745f4dd18eae385ba414aa82e69d61aa0a1047d

Jeremy Davis jeremyd at 420.am
Thu May 22 13:19:10 PDT 2014


The branch, master has been updated
       via  8745f4dd18eae385ba414aa82e69d61aa0a1047d (commit)
      from  3992c4726337c3b257489a2898cf898efc8a6554 (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 8745f4dd18eae385ba414aa82e69d61aa0a1047d
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Thu May 22 16:18:55 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