diff options
author | Jeremy Davis <jeremyd@freeside.biz> | 2014-07-01 11:42:42 -0400 |
---|---|---|
committer | Jeremy Davis <jeremyd@freeside.biz> | 2014-07-01 11:42:42 -0400 |
commit | 2fb631254c953ae3ef5e2679583b72faf3f8f157 (patch) | |
tree | 81148f261405f70f3f1fe3a0aa7189fe9f3d6036 | |
parent | 5716d52ab6d97510b5e470d53a4feb50d34a11c7 (diff) |
29050 Fix dates
-rw-r--r-- | FS/FS/cdr/orcon.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cdr/orcon.pm b/FS/FS/cdr/orcon.pm index 1cad01118..444b595d0 100644 --- a/FS/FS/cdr/orcon.pm +++ b/FS/FS/cdr/orcon.pm @@ -23,7 +23,7 @@ use Date::Parse; $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"; + my $tmp_date = "$2/$3/$1 $4:$5:$6"; $tmp_date = str2time($tmp_date); $cdr->set('startdate', $tmp_date); |