From: Ivan Kohler Date: Wed, 21 Jun 2017 20:05:13 +0000 (-0700) Subject: fix times on appointments list (RT stores dates in UTC), RT#76486 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=6a953cf2693cada43052a16481c433dab8878579 fix times on appointments list (RT stores dates in UTC), RT#76486 --- diff --git a/httemplate/view/cust_main/appointments.html b/httemplate/view/cust_main/appointments.html index fe9865245..171cb5c8c 100644 --- a/httemplate/view/cust_main/appointments.html +++ b/httemplate/view/cust_main/appointments.html @@ -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;