mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 18:32:32 -05:00
[Owner, Economy] Use UTC in the timestamps
This commit is contained in:
@@ -125,7 +125,7 @@ class Bank:
|
||||
balance = self.accounts[user.id]["balance"]
|
||||
else:
|
||||
balance = initial_balance
|
||||
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
timestamp = datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S")
|
||||
account = {"name": user.name,
|
||||
"balance": balance,
|
||||
"created_at": timestamp
|
||||
|
||||
Reference in New Issue
Block a user