projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
detail_format
/
accountcode_default.pm
diff --git
a/FS/FS/detail_format/accountcode_default.pm
b/FS/FS/detail_format/accountcode_default.pm
index
f76c9d5
..
562a8a9
100644
(file)
--- a/
FS/FS/detail_format/accountcode_default.pm
+++ b/
FS/FS/detail_format/accountcode_default.pm
@@
-2,7
+2,6
@@
package FS::detail_format::accountcode_default;
use strict;
use base qw(FS::detail_format);
use strict;
use base qw(FS::detail_format);
-use Date::Format qw(time2str);
sub name { 'Default with accountcode' }
sub name { 'Default with accountcode' }
@@
-12,8
+11,8
@@
sub columns {
my $self = shift;
my $cdr = shift;
(
my $self = shift;
my $cdr = shift;
(
-
time2str
($self->date_format, $cdr->startdate),
-
time2str
('%r', $cdr->startdate),
+
$self->time2str_local
($self->date_format, $cdr->startdate),
+
$self->time2str_local
('%r', $cdr->startdate),
$cdr->accountcode,
($cdr->rated_pretty_dst || $cdr->dst),
$cdr->rated_regionname,
$cdr->accountcode,
($cdr->rated_pretty_dst || $cdr->dst),
$cdr->rated_regionname,