Skip to content

Commit

Permalink
Fix date range filter
Browse files Browse the repository at this point in the history
  • Loading branch information
vrigal committed Nov 13, 2023
1 parent 9a97dce commit 1862185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treeherder/workers/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def publish_stats():
# Round the date to the current date range
# This should not overlapse as the beat is set as a relative cron based delay in minutes
end_date = end_date - timedelta(
minutes=end_date.minute - end_date.minute % settings.CELERY_STATS_PUBLICATION_DELAY,
minutes=end_date.minute % settings.CELERY_STATS_PUBLICATION_DELAY,
seconds=end_date.second,
microseconds=end_date.microsecond,
)
Expand Down

0 comments on commit 1862185

Please sign in to comment.