modified: app.py
This commit is contained in:
4
app.py
4
app.py
@@ -1010,7 +1010,7 @@ async def hoi4stats(ctx, user: Optional[discord.Member] = None):
|
||||
)
|
||||
embed.add_field(
|
||||
name="📅 Player Since",
|
||||
value=player['created_at'].strftime("%m/%d/%Y"),
|
||||
value=player['created_at'].strftime("%d/%m/%Y"),
|
||||
inline=True
|
||||
)
|
||||
|
||||
@@ -1232,7 +1232,7 @@ async def hoi4history(ctx, limit: Optional[int] = 10, player: Optional[discord.M
|
||||
teams[team] += 1
|
||||
|
||||
# Format date
|
||||
finished_date = game['finished_at'].strftime("%m/%d/%Y %H:%M") if game['finished_at'] else "Unknown"
|
||||
finished_date = game['finished_at'].strftime("%d/%m/%Y %H:%M") if game['finished_at'] else "Unknown"
|
||||
|
||||
# Winner indicator
|
||||
winner = game['winner_team'] if game['winner_team'] else "Unknown"
|
||||
|
||||
Reference in New Issue
Block a user