projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sansay CDRs, RT#5495
[freeside.git]
/
FS
/
FS
/
cdr.pm
diff --git
a/FS/FS/cdr.pm
b/FS/FS/cdr.pm
index
8ade4ea
..
77f3ec6
100644
(file)
--- a/
FS/FS/cdr.pm
+++ b/
FS/FS/cdr.pm
@@
-753,7
+753,7
@@
sub _cdr_date_parse {
return '' unless length($date); #that's okay, it becomes NULL
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
}
my $time = str2time($date);
return $time if $time > 100000; #just in case
}