We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c462bd commit a4fdd6bCopy full SHA for a4fdd6b
readthedocs/telemetry/tasks.py
@@ -35,5 +35,5 @@ def delete_old_build_data():
35
days_ago = timezone.now().date() - timezone.timedelta(days=retention_days)
36
return BuildData.objects.filter(
37
created__lt=days_ago,
38
- created__gt=days_ago - timezone.timezone(days=90),
+ created__gt=days_ago - timezone.timedelta(days=90),
39
).delete()
0 commit comments