From 126684337f0e27993c834a97cfd3081d2aeb0e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csaba=20Gy=C3=B6rgyi?= Date: Mon, 24 Jun 2024 16:34:58 +0200 Subject: [PATCH] Use the appropriate type of date in show_popover_closed Fixes GitHub issue #1116 --- GTG/gtk/editor/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GTG/gtk/editor/editor.py b/GTG/gtk/editor/editor.py index b28326347..f26707166 100644 --- a/GTG/gtk/editor/editor.py +++ b/GTG/gtk/editor/editor.py @@ -285,7 +285,7 @@ def show_popover_due(self, _=None): def show_popover_closed(self, _=None): """Open the closed date calendar popup.""" - closed_date = self.task.date_closed + closed_date = self.task.date_closed.date() with signal_handler_block(self.closed_calendar, self.closed_handle): gtime = GLib.DateTime.new_local(closed_date.year, closed_date.month, closed_date.day, 0, 0, 0)