summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-03 18:35:01 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-03 18:35:01 -0800
commit859036a7e64506106a507f12e7196efeb40733a1 (patch)
tree42c8160568a3f9cca6d6656c6cfc8c40af8dbc76 /FS
parenta7d9192c0b3b7dc5c4aa5bd889db93379dfeac3b (diff)
parent225cb914aa74111bb9b539075b7e065d41eb9aec (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cdr/cx3.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/FS/FS/cdr/cx3.pm b/FS/FS/cdr/cx3.pm
index a1e2e93c4..7f1222e9a 100644
--- a/FS/FS/cdr/cx3.pm
+++ b/FS/FS/cdr/cx3.pm
@@ -30,8 +30,10 @@ use Date::Parse;
skip(1),
sub { my ($cdr, $calldate, $param) = @_;
- $cdr->set('calldate', $calldate);
- }, #date
+ my $date = str2time($calldate);
+ $cdr->set('startdate', $date);
+
+ }, #date
skip(4),
'accountcode', # AccountCode
skip(6),