X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Fsimple2.pm;fp=FS%2FFS%2Fdetail_format%2Fsimple2.pm;h=d57114171d97b926a2ac9a1336491f811634f7fd;hb=573e68cc026cddd6e52d2f2027da388054a128d1;hp=82773d28cc6b0ce0a5a0bbe16e7bf06ad88f546d;hpb=82380ef8cb6e506f63dd4a8d1abf89cb079ae6cc;p=freeside.git diff --git a/FS/FS/detail_format/simple2.pm b/FS/FS/detail_format/simple2.pm index 82773d28c..d57114171 100644 --- a/FS/FS/detail_format/simple2.pm +++ b/FS/FS/detail_format/simple2.pm @@ -2,7 +2,6 @@ package FS::detail_format::simple2; 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->userfield, $cdr->src, $cdr->dst,