X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fdetail_format%2Faccountcode_default.pm;h=562a8a921e135878f8b4fae7cc87ce78374eebca;hp=f76c9d5c016d7b1dbc2970a5b19b2e393a295b9d;hb=674cb2d9d7105f4cc2871539b2e9f7088cdaa750;hpb=a25b4a4f96f93c8824d9e5a02591d464848d4f75 diff --git a/FS/FS/detail_format/accountcode_default.pm b/FS/FS/detail_format/accountcode_default.pm index f76c9d5c0..562a8a921 100644 --- 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 Date::Format qw(time2str); sub name { 'Default with accountcode' } @@ -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->accountcode, ($cdr->rated_pretty_dst || $cdr->dst), $cdr->rated_regionname,