419e44b178
This commit fixes an issue with the date formatting on the agg_count subunit2sql-graph command to be consistent with the other commands and actually use the ISO8601 format like the docs say it does. However, because the actual str parsing and format were in the DB API (and for several releases) we need to gracefully handle the switchover to anything else. So this commit updates get_test_counts_in_date_range() to also take in a datetime object and updates the docs to indicate the previous str parameters are deprecated. It then updates the agg_count command to own it's own string parsing and just pass a datetime object to the DB api. Change-Id: Ie7c67941e59c70285263611803f73b23b69ee06b Story: #2000581
11 lines
409 B
YAML
11 lines
409 B
YAML
---
|
|
deprecations:
|
|
- Passing in the date as a string in the format "%b %d %Y" to the function
|
|
get_test_counts_in_date_rage() in the DB API. Instead pass the date in
|
|
as a datetime object.
|
|
fixes:
|
|
- Setting the date as an ISO8601, as indicated by the docs and --help, for
|
|
the subunit2sql-graph command agg_count will now work correctly. It would
|
|
previously stack trace. (Story 2000581)
|
|
|