Fix unformatted datetime string

This commit is contained in:
nex 2022-10-20 15:48:20 +01:00
parent 97fc1e3989
commit a93d3a5fa6

View file

@ -112,7 +112,7 @@ class TimeTableCog(commands.Cog):
if next_lesson:
text += "\n[tt] Next lesson: {0[name]!r} with {0[tutor]} in {0[room]} - starts {1}".format(
next_lesson,
next_lesson["start_datetime"]
discord.utils.format_dt(next_lesson["start_datetime"], 'R')
)
if no_prefix: