[freeside-commits] branch master updated. f021b06feef76c25f49e759f9235e933b272db66
Jeremy Davis
jeremyd at 420.am
Tue Oct 21 10:59:14 PDT 2014
The branch, master has been updated
via f021b06feef76c25f49e759f9235e933b272db66 (commit)
from ee6362289656880b31f26e627ba017f6274f523b (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 f021b06feef76c25f49e759f9235e933b272db66
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