[freeside-commits] branch FREESIDE_4_BRANCH updated. 09e21d010060855f842bcf6a5edec82ff705ddf6

Ivan ivan at 420.am
Wed Jun 21 13:05:12 PDT 2017


The branch, FREESIDE_4_BRANCH has been updated
       via  09e21d010060855f842bcf6a5edec82ff705ddf6 (commit)
      from  b4d7dc9ec38daec3ee96d32287f701ed719b5eba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 09e21d010060855f842bcf6a5edec82ff705ddf6
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jun 21 13:05:11 2017 -0700

    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 9bf5be1..a586b67 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;

-----------------------------------------------------------------------

Summary of changes:
 httemplate/view/cust_main/appointments.html |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list