aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Suhail <[email protected]>2019-03-25 14:46:13 +0000
committerGravatar Suhail <[email protected]>2019-03-25 14:46:13 +0000
commit2c4b92f0886062100b9989b85c881bfc4aea7ece (patch)
tree0f754926d881d98de5ecc28bde56e7f4044e9a60
parentTime left - requested change (diff)
Time Left - Changed `datetime.now()` to `datetime.utcnow()`
And previous change also did that
-rw-r--r--bot/seasons/halloween/timeleft.py2
1 files changed, 1 insertions, 1 deletions
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