[freeside-commits] freeside/FS/FS cdr.pm,1.46,1.47
Ivan,,,
ivan at wavetail.420.am
Thu Jul 9 17:00:40 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv30419
Modified Files:
cdr.pm
Log Message:
sansay CDRs, RT#5495
Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- cdr.pm 9 Jul 2009 23:59:34 -0000 1.46
+++ cdr.pm 10 Jul 2009 00:00:37 -0000 1.47
@@ -753,7 +753,7 @@
return '' unless length($date); #that's okay, it becomes NULL
- if ( $date =~ /^([a-z]{3})\s+([a-z]{3})\s+(\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2}\s+(\d{4})$/i && $7 > 1970 ) {
+ if ( $date =~ /^([a-z]{3})\s+([a-z]{3})\s+(\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2})\s+(\d{4})$/i && $7 > 1970 ) {
my $time = str2time($date);
return $time if $time > 100000; #just in case
}
More information about the freeside-commits
mailing list