oncall-engine/engine/apps/google/constants.py
Joey Orlando 5a8d2baa28
ignore shift swap generation for gcal events with specific keyword in title (#4228)
# What this PR does

Related to
[this](https://raintank-corp.slack.com/archives/C0229FD3CE9/p1713193452179019)
internal feature request

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.

---------

Co-authored-by: Matias Bordese <mbordese@gmail.com>
2024-04-16 13:56:41 -04:00

8 lines
226 B
Python

EVENT_SUMMARY_IGNORE_KEYWORD = "#grafana-oncall-ignore"
GOOGLE_CALENDAR_EVENT_DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S%z"
"""
https://stackoverflow.com/a/17159470/3902555
"""
DAYS_IN_FUTURE_TO_CONSIDER_OUT_OF_OFFICE_EVENTS = 30