From 3960e0d1dc19991851b70030bbb99680c3ddc418 Mon Sep 17 00:00:00 2001 From: Ildar Iskhakov Date: Fri, 18 Aug 2023 15:07:32 +0800 Subject: [PATCH] Remove UTC from step as it is using local time (#2824) # What this PR does Reverts this PR - https://github.com/grafana/oncall/pull/2729 Fixes https://github.com/grafana/support-escalations/issues/7164 ## Which issue(s) this PR fixes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) --- engine/apps/alerts/models/escalation_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/apps/alerts/models/escalation_policy.py b/engine/apps/alerts/models/escalation_policy.py index 1ae8da43..a55f1d1b 100644 --- a/engine/apps/alerts/models/escalation_policy.py +++ b/engine/apps/alerts/models/escalation_policy.py @@ -129,7 +129,7 @@ class EscalationPolicy(OrderedModel): STEP_TRIGGER_CUSTOM_WEBHOOK: ("Trigger webhook {{custom_webhook}}", "Trigger webhook"), STEP_NOTIFY_USERS_QUEUE: ("Round robin notification for {{users}}", "Notify users one by one (round-robin)"), STEP_NOTIFY_IF_TIME: ( - "Continue escalation if current UTC time is in {{timerange}}", + "Continue escalation if current time is in {{timerange}}", "Continue escalation if current time is in range", ), STEP_NOTIFY_IF_NUM_ALERTS_IN_TIME_WINDOW: (