# 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> |
||
|---|---|---|
| .. | ||
| serializers | ||
| tests | ||
| throttlers | ||
| views | ||
| __init__.py | ||
| constants.py | ||
| custom_renderers.py | ||
| helpers.py | ||
| tf_sync.py | ||
| urls.py | ||