Fix incorrect timeformatting

This commit is contained in:
Stijn De Clercq 2021-11-29 22:12:53 +01:00
parent dd60840576
commit 8350b01d85
2 changed files with 7 additions and 2 deletions

View file

@ -66,7 +66,7 @@ class Slash(commands.Cog):
if time.count(":") == 1:
time += ":00"
dt = fromString(f"{date} {time}", formatString="%d/%m/%Y %H:%M:%S")
dt = fromString(f"{date} {time}", formatString="%d/%m/%Y %H:%M:%S", tzinfo=None)
# Add year & course if necessary
if str(year) not in deadlines: