[Rt-commit] rt branch, 4.4/sla-timezone-doc, created. rt-4.4.1-441-g4a2c032

Shawn Moore shawn at bestpractical.com
Thu Jul 13 12:31:09 EDT 2017


The branch, 4.4/sla-timezone-doc has been created
        at  4a2c032b7cf6ea29b7171c72eb1adfba19711222 (commit)

- Log -----------------------------------------------------------------
commit bd84ee9b2e758668301dca847692d15369313b15
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Jul 13 16:22:07 2017 +0000

    Document Timezone setting for SLA

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 0899c7e..baeb85a 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -3724,6 +3724,34 @@ Response SLA has only been met when the owner or AdminCc reply.
         ...
     ));
 
+=item Timezone
+
+By default, RT uses the C<$Timezone> config setting for calculating
+SLAs. You may override this default for a service level by providing the
+C<Timezone> option.
+
+    Set( %ServiceAgreements, (
+        Levels => {
+            '2h' => { Timezone => 'US/Pacific', ... },
+            '4h' => { Timezone => 'US/Eastern', ... },
+        },
+    ));
+
+You may also select a specific timezone per queue by providing a hash
+reference for that queue in C<QueueDefault> and specifying the
+C<Timezone> option. This overrides any timezone specified for the
+service level.
+
+    Set( %ServiceAgreements, (
+        QueueDefault => {
+            'General' => {
+                Level    => '2h',
+                Timezone => 'US/Eastern',
+            },
+        },
+        ...
+    ));
+
 =back
 
 =cut

commit 4a2c032b7cf6ea29b7171c72eb1adfba19711222
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Jul 13 16:22:15 2017 +0000

    Fix example config typo

diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index baeb85a..bebdecd 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -3719,7 +3719,7 @@ this should I<not> satisfy the SLA, you may wish to set
 C<AssumeOutsideActor>.  This causes the extension to assume that the
 Response SLA has only been met when the owner or AdminCc reply.
 
-    Set ( %ServiceAgreements = (
+    Set ( %ServiceAgreements, (
         AssumeOutsideActor => 1,
         ...
     ));

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


More information about the rt-commit mailing list