summaryrefslogtreecommitdiff
path: root/FS/FS/detail_format/accountcode_simple.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/detail_format/accountcode_simple.pm')
-rw-r--r--FS/FS/detail_format/accountcode_simple.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/FS/FS/detail_format/accountcode_simple.pm b/FS/FS/detail_format/accountcode_simple.pm
index 10a28db..5a19310 100644
--- a/FS/FS/detail_format/accountcode_simple.pm
+++ b/FS/FS/detail_format/accountcode_simple.pm
@@ -2,7 +2,6 @@ package FS::detail_format::accountcode_simple;
use strict;
use base qw(FS::detail_format);
-use Date::Format qw(time2str);
sub name { 'Simple with source' }
@@ -12,8 +11,8 @@ sub columns {
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->src,
$cdr->accountcode,
$self->duration($cdr),