@classmethod
    def date_range_for_webtrends(cls, start_at=None, end_at=None):
        """
        Get the day dates in between start and end formatted for query.
        This returns dates inclusive e.g. final day is (end_at, end_at+1 day)
        """
        if start_at and end_at:
            start_date = cls.parse_standard_date_string_to_date(
                start_at)
            end_date = cls.parse_standard_date_string_to_date(
                end_at)
            numdays = (start_date - end_date).days + 1
            start_dates = [end_date - timedelta(days=x)
                           for x in reversed(range(0, numdays))]
            date_range = []
            for i, date in enumerate(start_dates):
                query_date = cls.parse_date_for_query(date)
                date_range.append((query_date, query_date))
            return date_range
        else:
            return [("current_day-1", "current_day-1")]
dataset/ETHPy150Open alphagov/performanceplatform-collector/performanceplatform/collector/webtrends/reports.py/Collector.date_range_for_webtrends/swapped operands of `-`