diff options
| author | 2019-03-25 14:46:13 +0000 | |
|---|---|---|
| committer | 2019-03-25 14:46:13 +0000 | |
| commit | 2c4b92f0886062100b9989b85c881bfc4aea7ece (patch) | |
| tree | 0f754926d881d98de5ecc28bde56e7f4044e9a60 /bot/seasons/halloween/timeleft.py | |
| parent | Time left - requested change (diff) | |
Time Left - Changed `datetime.now()` to `datetime.utcnow()`
And previous change also did that
Diffstat (limited to 'bot/seasons/halloween/timeleft.py')
| -rw-r--r-- | bot/seasons/halloween/timeleft.py | 2 |
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 |