mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-19 02:34:20 -05:00
PromoteReport: PromoCampaign end_date is not inclusive.
This commit is contained in:
@@ -3998,7 +3998,7 @@ class PromoteReport(Templated):
|
||||
campaign_start = campaign.start_date - promote.timezone_offset
|
||||
campaign_end = campaign.end_date - promote.timezone_offset
|
||||
date = date.replace(tzinfo=g.tz)
|
||||
if date < campaign_start or date > campaign_end:
|
||||
if not (campaign_start <= date < campaign_end):
|
||||
continue
|
||||
if sr == '':
|
||||
fp_hits[codename] += pageviews
|
||||
|
||||
Reference in New Issue
Block a user