projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2017 holidays, RT#18117
[freeside.git]
/
FS
/
FS
/
detail_format
/
simple2.pm
diff --git
a/FS/FS/detail_format/simple2.pm
b/FS/FS/detail_format/simple2.pm
index
5bba18d
..
d571141
100644
(file)
--- a/
FS/FS/detail_format/simple2.pm
+++ b/
FS/FS/detail_format/simple2.pm
@@
-1,8
+1,7
@@
package FS::detail_format::simple2;
use strict;
package FS::detail_format::simple2;
use strict;
-use parent qw(FS::detail_format);
-use Date::Format qw(time2str);
+use base qw(FS::detail_format);
sub name { 'Simple with source' }
sub name { 'Simple with source' }
@@
-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->userfield,
$cdr->src,
$cdr->dst,
$cdr->userfield,
$cdr->src,
$cdr->dst,