projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d5c89b9
)
29050 Fix dates
author
Jeremy Davis
<jeremyd@freeside.biz>
Mon, 30 Jun 2014 22:05:02 +0000
(18:05 -0400)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Mon, 30 Jun 2014 22:05:02 +0000
(18:05 -0400)
FS/FS/cdr/orcon.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cdr/orcon.pm
b/FS/FS/cdr/orcon.pm
index
51ef9ea
..
7bdba93
100644
(file)
--- a/
FS/FS/cdr/orcon.pm
+++ b/
FS/FS/cdr/orcon.pm
@@
-20,7
+20,7
@@
use FS::cdr;
sub { my ($cdr, $calldate) = @_;
$cdr->set('calldate', $calldate);
sub { my ($cdr, $calldate) = @_;
$cdr->set('calldate', $calldate);
- $calldate =~ /^(\d{
2
})\/(\d{2})\/(\d{4})\s*(\d{2}):(\d{2}):(\d{2})$/
+ $calldate =~ /^(\d{
4
})\/(\d{2})\/(\d{4})\s*(\d{2}):(\d{2}):(\d{2})$/
or die "unparseable date: $calldate";
my $tmp_date = "$2/$1/$3 $4:$5:$6";
or die "unparseable date: $calldate";
my $tmp_date = "$2/$1/$3 $4:$5:$6";