add skip_dcontext_suffix to skip CDRs with dcontext ending in a definable string...
[freeside.git] / FS / FS / detail_format / basic.pm
index 21b5da4..c45e926 100644 (file)
@@ -1,8 +1,7 @@
 package FS::detail_format::basic;
 
 use strict;
-use parent qw(FS::detail_format);
-use Date::Format qw(time2str);
+use base qw(FS::detail_format);
 
 sub name { 'Basic' }
 
@@ -12,7 +11,7 @@ sub columns {
   my $self = shift;
   my $cdr = shift;
   (
-    time2str('%d %b - %I:%M %p', $cdr->startdate),
+    $self->time2str_local('%d %b - %I:%M %p', $cdr->startdate),
     $cdr->dst,
     $self->duration($cdr),
     $self->price($cdr),