aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/embeds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/embeds.py b/discord/embeds.py
index b756d55f..5dcc92a8 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -509,7 +509,7 @@ class Embed:
pass
else:
if timestamp:
- result['timestamp'] = timestamp.isoformat()
+ result['timestamp'] = timestamp.astimezone(tz=datetime.timezone.utc).isoformat()
# add in the non raw attribute ones
if self.type: