oncall-engine/engine/apps/alerts/models
Rares Mardare 3d396670c5
Prevent conversion of escalation start/end times to UTC (#2826)
# What this PR does

Adds a boolean `convertToUTC` to the `TimeRange` component. For this use
case on escalation chains since the user inputted fields are strings
they will not be further converted to UTC and instead left as it is,
which previously resulted in setting a wrong start/end combination.

## Which issue(s) this PR fixes

https://github.com/grafana/oncall/issues/2781

## 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)
2023-08-18 13:40:36 +03:00
..
__init__.py Remove unnecessary signal (#2030) 2023-07-25 07:21:41 +00:00
alert.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
alert_group.py Fix Slack acknowledgment reminders (#2769) 2023-08-11 09:41:56 +00:00
alert_group_counter.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_log_record.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
alert_manager_models.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
alert_receive_channel.py Improve getting/updating contact points for Grafana Alerting integration (#2742) 2023-08-18 12:12:29 +02:00
channel_filter.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
custom_button.py re-enable mypy GitHub Actions CI job (#2390) 2023-06-29 14:01:52 +00:00
escalation_chain.py re-enable mypy GitHub Actions CI job (#2390) 2023-06-29 14:01:52 +00:00
escalation_policy.py Prevent conversion of escalation start/end times to UTC (#2826) 2023-08-18 13:40:36 +03:00
grafana_alerting_contact_point.py Improve getting/updating contact points for Grafana Alerting integration (#2742) 2023-08-18 12:12:29 +02:00
invitation.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
maintainable_object.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
resolution_note.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
user_has_notification.py World, meet OnCall! 2022-06-03 08:09:47 -06:00