Upload to GitLab
This commit is contained in:
@@ -94,7 +94,7 @@ class User(models.Model):
|
||||
instance.is_masked = cache["is_masked"]
|
||||
instance.is_moderator = cache["is_moderator"]
|
||||
instance.is_supporter_until = (
|
||||
datetime.fromisoformat(cache["is_supporter_until"])
|
||||
datetime.fromtimestamp(cache["is_supporter_until"], timezone.utc)
|
||||
if cache["is_supporter_until"] is not None
|
||||
else None
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user