oncall-engine/engine/apps
Nelson c281484f67
add support for datetime on final_shifts API parameters (#3103)
# What this PR does
- Changes the data type from `DateField` to `DateTimeField` on the
`final_shifts` API endpoint
- Accepts either a date or a datetime for the `start_date` and
`end_date` parameters (e.g. 2021-01-01 or 2021-01-01T01:00)
- Datetime granularity is in line with what is configurable on the
schedule i.e. `YYYY-MM-DD hh:mm`
- removes the rounding logic that modifies the query sent on the
database

## Which issue(s) this PR fixes
#3086 

## 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] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
2023-10-30 12:00:39 +00:00
..
alerts address some minor direct paging backend issues (#3208) 2023-10-27 20:47:00 +00:00
api address some minor direct paging backend issues (#3208) 2023-10-27 20:47:00 +00:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Return API URL as part of status (#2791) 2023-08-22 17:17:26 +00:00
base WIP: Direct paging improvements (#3064) 2023-09-28 03:57:49 +00:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Add labels implementation for integration (#3014) 2023-10-20 07:30:11 +00:00
heartbeat Use periodic task for heartbeats (#2723) 2023-08-10 02:25:00 +00:00
integrations Fixing ratelimit texts 2023-09-27 14:18:00 +03:00
labels Add labels implementation for integration (#3014) 2023-10-20 07:30:11 +00:00
metrics_exporter Fix metrics and dashboard (#2895) 2023-08-29 13:52:24 +00:00
mobile_app Notify user when their shift swap request is taken (#2992) 2023-09-07 14:59:54 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api add support for datetime on final_shifts API parameters (#3103) 2023-10-30 12:00:39 +00:00
schedules Upgrade to django 4.2.6 and other deps updates (#3176) 2023-10-27 18:45:00 +00:00
slack Add responders improvements (#3128) 2023-10-27 12:12:07 -04:00
social_auth Upgrade to django 4.2.6 and other deps updates (#3176) 2023-10-27 18:45:00 +00:00
telegram Fix "Replied message not found" Telegram bug (#3013) 2023-09-12 15:55:13 +00:00
twilioapp Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
user_management Upgrade to django 4.2.6 and other deps updates (#3176) 2023-10-27 18:45:00 +00:00
webhooks Allow deletion for removed presets (#3072) 2023-09-27 10:21:55 -06:00
zvonok Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00