From 54632ad75498381c88e32850f7dda39965f7ad33 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 21 Jun 2017 13:05:10 -0700 Subject: [PATCH] fix times on appointments list (RT stores dates in UTC), RT#76486 --- httemplate/view/cust_main/appointments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httemplate/view/cust_main/appointments.html b/httemplate/view/cust_main/appointments.html index 9bf5be1d5..a586b6761 100644 --- a/httemplate/view/cust_main/appointments.html +++ b/httemplate/view/cust_main/appointments.html @@ -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; -- 2.11.0