[freeside-commits] freeside/FS/FS cdr.pm,1.56,1.57
Mark Wells
mark at wavetail.420.am
Tue May 4 15:25:47 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv18304
Modified Files:
cdr.pm
Log Message:
RT#8026: WIP CDR format
Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -w -d -r1.56 -r1.57
--- cdr.pm 27 Apr 2010 05:38:27 -0000 1.56
+++ cdr.pm 4 May 2010 22:25:44 -0000 1.57
@@ -747,6 +747,9 @@
} elsif ( $date =~ /^\s*(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d+\.\d+)(\D|$)/ ) {
# broadsoft: 20081223201938.314
($year, $mon, $day, $hour, $min, $sec) = ( $1, $2, $3, $4, $5, $6);
+ } elsif ( $date =~ /^\s*(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/ ) {
+ # WIP: 20100329121420
+ ($year, $mon, $day, $hour, $min, $sec) = ( $1, $2, $3, $4, $5, $6 );
} else {
die "unparsable date: $date"; #maybe we shouldn't die...
}
More information about the freeside-commits
mailing list