[Owner, Economy] Use UTC in the timestamps

This commit is contained in:
Twentysix
2016-12-30 13:00:24 +01:00
parent abd154861d
commit 4fcf0924f3
2 changed files with 2 additions and 2 deletions

View File

@@ -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