[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-126-g6b676ab

? sunnavy sunnavy at bestpractical.com
Wed Aug 4 03:39:56 EDT 2010


The branch, 3.8-trunk has been updated
       via  6b676ab426d5bb56882a645bda7c30b431fa2b3d (commit)
      from  5bc33b2500797724f3391890ad2f78a098bda2de (commit)

Summary of changes:
 share/html/Approvals/Elements/PendingMyApproval |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 6b676ab426d5bb56882a645bda7c30b431fa2b3d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Aug 4 15:41:11 2010 +0800

    show the datetime with user's timezone in /Approvals/

diff --git a/share/html/Approvals/Elements/PendingMyApproval b/share/html/Approvals/Elements/PendingMyApproval
index 2ea7300..0a1047f 100755
--- a/share/html/Approvals/Elements/PendingMyApproval
+++ b/share/html/Approvals/Elements/PendingMyApproval
@@ -67,9 +67,9 @@
 <input type="checkbox" class="checkbox" value="1" name="ShowRejected" <% defined($ARGS{'ShowRejected'}) && $ARGS{'ShowRejected'} && qq[checked="checked"] |n%> /> <&|/l&>Show denied requests</&><br />
 <input type="checkbox" class="checkbox" value="1" name="ShowDependent" <% defined($ARGS{'ShowDependent'}) && $ARGS{'ShowDependent'} && qq[checked="checked"] |n%> /> <&|/l&>Show requests awaiting other approvals</&><br />
 
-<&|/l,"<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO)."' name='CreatedBefore' id='CreatedBefore' />"&>Only show approvals for requests created before [_1]</&><br />
+<&|/l,"<input size='15' value='".($created_before->Unix > 0 &&$created_before->ISO(Timezone => 'user'))."' name='CreatedBefore' id='CreatedBefore' />"&>Only show approvals for requests created before [_1]</&><br />
 
-<&|/l, "<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO)."' name='CreatedAfter' id='CreatedAfter' />"&>Only show approvals for requests created after [_1]</&>
+<&|/l, "<input size='15' value='".( $created_after->Unix >0 && $created_after->ISO(Timezone => 'user'))."' name='CreatedAfter' id='CreatedAfter' />"&>Only show approvals for requests created after [_1]</&>
 </&>
 
 <%init>

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


More information about the Rt-commit mailing list