aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/converters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 0cd06bf5e..0984fa0a3 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -405,7 +405,7 @@ class Age(DurationDelta):
The converter supports the same symbols for each unit of time as its parent class.
"""
delta = await super().convert(ctx, duration)
- now = datetime.utcnow()
+ now = datetime.now(timezone.utc)
try:
return now - delta