[freeside-commits] branch FREESIDE_3_BRANCH updated. 6b097841bf7a699e61543c866c7b8b7985201693
Jeremy Davis
jeremyd at 420.am
Tue Jul 1 08:37:38 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 6b097841bf7a699e61543c866c7b8b7985201693 (commit)
from 960e5018d7e63f96f57fed4a56a2c1b700e8a64e (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 6b097841bf7a699e61543c866c7b8b7985201693
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Tue Jul 1 11:37:06 2014 -0400
29050 Fix dates
diff --git a/FS/FS/cdr/orcon.pm b/FS/FS/cdr/orcon.pm
index 7bdba93..1cad011 100644
--- a/FS/FS/cdr/orcon.pm
+++ b/FS/FS/cdr/orcon.pm
@@ -3,6 +3,7 @@ package FS::cdr::orcon;
use strict;
use vars qw( @ISA %info);
use FS::cdr;
+use Date::Parse;
@ISA = qw(FS::cdr);
@@ -20,7 +21,7 @@ use FS::cdr;
sub { my ($cdr, $calldate) = @_;
$cdr->set('calldate', $calldate);
- $calldate =~ /^(\d{4})\/(\d{2})\/(\d{4})\s*(\d{2}):(\d{2}):(\d{2})$/
+ $calldate =~ /^(\d{4})-(\d{2})-(\d{2})\s*(\d{2}):(\d{2}):(\d{2})$/
or die "unparseable date: $calldate";
my $tmp_date = "$2/$1/$3 $4:$5:$6";
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cdr/orcon.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list