Reuse method for querying for a date range

It's also used for the other LPA modules. Using the same so we query for
the same week.
Merge pull request #215 from alphagov/fix-help-usage-query

Reuse method for querying for a date range