Skip to content

Commit

Permalink
again, interpreters matter
Browse files Browse the repository at this point in the history
  • Loading branch information
hblankenship committed Jan 16, 2025
1 parent 1bcf3a7 commit 742673e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ def filter_mitigated_after(self, queryset, name, value):
value = value.replace(hour=23, minute=59, second=59)

return queryset.filter(mitigated__gt=value)

def filter_mitigated_on(self, queryset, name, value):
if value.hour == 0 and value.minute == 0 and value.second == 0:
# we have a simple date without a time, lets get a range from this morning to tonight at 23:59:59:999
Expand Down

0 comments on commit 742673e

Please sign in to comment.