summaryrefslogtreecommitdiff
path: root/FS/FS/cdr.pm
diff options
context:
space:
mode:
authorivan <ivan>2009-05-30 10:45:43 +0000
committerivan <ivan>2009-05-30 10:45:43 +0000
commita0b2c1a1ac9da3b33bc088dab0af77f6555428f7 (patch)
tree09c015f6d88f796b1b7ee64a64712f33567c6456 /FS/FS/cdr.pm
parent29615c5145652c3f0bc293d468493709517b9fd9 (diff)
add transnexus format, RT#5229
Diffstat (limited to 'FS/FS/cdr.pm')
-rw-r--r--FS/FS/cdr.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr.pm b/FS/FS/cdr.pm
index 421fd2b..ab87a68 100644
--- a/FS/FS/cdr.pm
+++ b/FS/FS/cdr.pm
@@ -710,7 +710,7 @@ sub _cdr_date_parse {
#$date =~ /^\s*(\d{4})[\-\/]\(\d{1,2})[\-\/](\d{1,2})\s+(\d{1,2}):(\d{1,2}):(\d{1,2})\s*$/
#taqua #2007-10-31 08:57:24.113000000
- if ( $date =~ /^\s*(\d{4})\D(\d{1,2})\D(\d{1,2})\s+(\d{1,2})\D(\d{1,2})\D(\d{1,2})(\D|$)/ ) {
+ if ( $date =~ /^\s*(\d{4})\D(\d{1,2})\D(\d{1,2})\D+(\d{1,2})\D(\d{1,2})\D(\d{1,2})(\D|$)/ ) {
($year, $mon, $day, $hour, $min, $sec) = ( $1, $2, $3, $4, $5, $6 );
} elsif ( $date =~ /^\s*(\d{1,2})\D(\d{1,2})\D(\d{4})\s+(\d{1,2})\D(\d{1,2})\D(\d{1,2})(\D|$)/ ) {
($mon, $day, $year, $hour, $min, $sec) = ( $1, $2, $3, $4, $5, $6 );