Currently for some reason,
core:invalidate-report-data command does not support invalidating date range reports.
As a user, when I use the GDPR controls to delete some visitor data, or in general whenever I delete some wrong data and then I invalidate reports, I'd expect (and need) all reports to be fully invalidated. Currently, "range" reports are not invalidated. So my range reports will still show old data while all others (day, week, month, years) work fine as expected.
--periodsparameter, it would also automatically invalidate range. This would also 'just work' in the Invalidate Reports plugin
Would be valuable to implement this feature as it would make the feature fully work and not cause people confusion.
Note: as discussed, when we invalidate a date range, we just want to invalidate this exact date range specified. We figured it is not really do-able or needed to invalidate other date ranges which may partially overlap this one.