diff --git a/shared/models/main.py b/shared/models/main.py index 891d84d8fefcaf11e63f1f0716f4f2568b8f4991..84c11959e89a7bf14d34a79b1ea8e7075012b16c 100644 --- a/shared/models/main.py +++ b/shared/models/main.py @@ -789,7 +789,9 @@ class MainSearchPageMixin( # Put results without a timestamp first, as they'll be person litsings etc. key=lambda result: result.timestamp if hasattr(result, "timestamp") - else datetime.date(year=9999, month=1, day=1), + else datetime.datetime(year=9999, month=1, day=1).replace( + tzinfo=datetime.timezone.utc + ), reverse=True, )