[Rt-commit] r13732 - in rt/3.8/trunk: share/html/Search

alexmv at bestpractical.com alexmv at bestpractical.com
Wed Jul 2 15:24:28 EDT 2008


Author: alexmv
Date: Wed Jul  2 15:23:43 2008
New Revision: 13732

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Search/Results.tsv

Log:
 r33667 at kohr-ah:  chmrr | 2008-07-02 15:23:15 -0400
 RT-Ticket: 8752
 RT-Status: resolved
 
  * Display times in the user's timezone.  This is a horrible, horrible
    hack, but it's no worse than the other horrors in the file already.
    ====> This breaks backwards compatibility! <====
 


Modified: rt/3.8/trunk/share/html/Search/Results.tsv
==============================================================================
--- rt/3.8/trunk/share/html/Search/Results.tsv	(original)
+++ rt/3.8/trunk/share/html/Search/Results.tsv	Wed Jul  2 15:23:43 2008
@@ -81,6 +81,7 @@
             $row->{$attr} = "";
         } else {
             my $method = '$Ticket->'.$attr.'()';
+            $method =~ s/->ISO\(\)$/->ISO( Timezone => 'user' )/;
             $row->{$attr} = eval $method;
             if ($@) {die "Failed to find $attr - ". $@}; 
         }


More information about the Rt-commit mailing list