fix times on appointments list (RT stores dates in UTC), RT#76486
authorIvan Kohler <ivan@freeside.biz>
Wed, 21 Jun 2017 20:05:10 +0000 (13:05 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 21 Jun 2017 20:05:10 +0000 (13:05 -0700)
httemplate/view/cust_main/appointments.html

index 9bf5be1..a586b67 100644 (file)
@@ -37,7 +37,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;