[freeside-commits] branch FREESIDE_3_BRANCH updated. df0798e9f7d899d0eb74b24d16e6ba4f767313cd
Jeremy Davis
jeremyd at 420.am
Fri Jan 2 10:04:03 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via df0798e9f7d899d0eb74b24d16e6ba4f767313cd (commit)
from 92e63d82b0f376e5c8d95df5f916d7b32b018289 (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 df0798e9f7d899d0eb74b24d16e6ba4f767313cd
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu Jan 1 10:12: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