fix times on appointments list (RT stores dates in UTC), RT#76486
[freeside.git] / httemplate / view / cust_main / appointments.html
index fe98652..171cb5c 100644 (file)
@@ -34,7 +34,7 @@
 %     }
 %
 %     use Date::Parse qw( str2time );
-%     my $starts = str2time( $ticket->{starts} ); #default format here sucks
+%     my $starts = str2time( $ticket->{starts}, 'UTC' ); #default format here sucks
 %     my $starts_pretty = '';
 %     $starts_pretty = time2str('%a %h %o %Y %l:%M%P', $starts)
 %       if $starts > 86400;