Fixed styling & added game server to profile #130

This commit is contained in:
2023-02-18 13:37:03 +01:00
parent 6149825101
commit 610ce42fa2
16 changed files with 2190 additions and 2036 deletions

View File

@@ -38,6 +38,10 @@ class UserJoinedGameServer(TableABC):
def game_server(self) -> str:
return self._game_server
@property
def time(self) -> float:
return round((self.leaved_on - self.joined_on).total_seconds() / 3600, 2)
@property
def joined_on(self) -> datetime:
return self._joined_on