From 2c4b92f0886062100b9989b85c881bfc4aea7ece Mon Sep 17 00:00:00 2001 From: Suhail Date: Mon, 25 Mar 2019 14:46:13 +0000 Subject: Time Left - Changed `datetime.now()` to `datetime.utcnow()` And previous change also did that --- bot/seasons/halloween/timeleft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/seasons/halloween/timeleft.py b/bot/seasons/halloween/timeleft.py index 2fc0fb76..9488f660 100644 --- a/bot/seasons/halloween/timeleft.py +++ b/bot/seasons/halloween/timeleft.py @@ -26,7 +26,7 @@ class TimeLeft: """ Grabs the current time in additon to the first and last day of the following October """ - now = datetime.now() + now = datetime.utcnow() year = now.year if now.month > 10: year += 1 -- cgit v1.2.3