X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fsimple.pm;h=9622e32bac987f3050f39c0b3afecbd725982ab5;hb=bb7e827141c9ed68f30765c9ca2ddcd1d760ad2d;hp=ef927062c6e07370963cc9ebb32e193522908af9;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/FS/FS/detail_format/simple.pm b/FS/FS/detail_format/simple.pm index ef927062c..9622e32ba 100644 --- a/FS/FS/detail_format/simple.pm +++ b/FS/FS/detail_format/simple.pm @@ -2,7 +2,6 @@ package FS::detail_format::simple; use strict; use base qw(FS::detail_format); -use Date::Format qw(time2str); sub name { 'Simple' } @@ -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->userfield, $cdr->dst, $self->duration($cdr),