[Rt-commit] r12552 - in rt/branches/3.8-TESTING: share/html/Ticket

sartak at bestpractical.com sartak at bestpractical.com
Tue May 20 12:22:31 EDT 2008


Author: sartak
Date: Tue May 20 12:22:30 2008
New Revision: 12552

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Ticket/Create.html

Log:
 r56416 at onn:  sartak | 2008-05-20 12:21:38 -0400
 Give the due date in the user's timezone when setting a DefaultDueIn, because that's what the rest of the system expects


Modified: rt/branches/3.8-TESTING/share/html/Ticket/Create.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Create.html	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Create.html	Tue May 20 12:22:30 2008
@@ -336,7 +336,7 @@
     my $default_due = RT::Date->new($session{'CurrentUser'});
     $default_due->SetToNow();
     $default_due->AddDays($QueueObj->DefaultDueIn);
-    $ARGS{'Due'} = $default_due->ISO();
+    $ARGS{'Due'} = $default_due->ISO(Timezone => 'user');
 }
 
 # {{{ deal with deleting uploaded attachments


More information about the Rt-commit mailing list