[freeside-commits] branch master updated. 225cb914aa74111bb9b539075b7e065d41eb9aec
Jeremy Davis
jeremyd at 420.am
Fri Jan 2 10:03:12 PST 2015
The branch, master has been updated
via 225cb914aa74111bb9b539075b7e065d41eb9aec (commit)
from 85291fb4046b876aa1f33ae3e1a57823c30a446e (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 225cb914aa74111bb9b539075b7e065d41eb9aec
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu Jan 1 10:11:40 2015 -0500
Ticket 29048 Fix date formatting
diff --git a/FS/FS/cdr/cx3.pm b/FS/FS/cdr/cx3.pm
index a1e2e93..7f1222e 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),
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/cx3.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list