From a93d3a5fa695229be9ed23a227414f18aa6940b9 Mon Sep 17 00:00:00 2001 From: nex <53234499+EEKIM10@users.noreply.github.com> Date: Thu, 20 Oct 2022 15:48:20 +0100 Subject: [PATCH] Fix unformatted datetime string --- cogs/timetable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/timetable.py b/cogs/timetable.py index 722708f..e7e5919 100644 --- a/cogs/timetable.py +++ b/cogs/timetable.py @@ -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: