[freeside-commits] branch FREESIDE_3_BRANCH updated. 1760d31e3ae34b705f894341bdf77d175f3de4cd

Jeremy Davis jeremyd at 420.am
Tue Oct 28 07:39:18 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  1760d31e3ae34b705f894341bdf77d175f3de4cd (commit)
      from  3e7b9c1a8ddbe9aabba470fc02041ad631cd9b8a (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 1760d31e3ae34b705f894341bdf77d175f3de4cd
Author: Jeremy Davis <jeremyd at freeside.biz>
Date:   Tue Oct 21 13:58:02 2014 -0400

    Ticket #8137 Fix Broadsoft dates

diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index 7a5668d..4c02b06 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -1627,7 +1627,7 @@ sub _cdr_date_parse {
     # optionally without seconds
     ($mon, $day, $year, $hour, $min, $sec) = ( $1, $2, $3, $4, $5, $6 );
     $sec = 0 if !defined($sec);
-  } elsif ( $date  =~ /^\s*(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d+\.\d+)(\D|$)/ ) {
+   } elsif ( $date  =~ /^\s*(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\.\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})\d+(\D|$)/ ) {

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cdr.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list