mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Fix incorrect timeformatting
This commit is contained in:
parent
dd60840576
commit
8350b01d85
2 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue