Skip to content

Commit

Permalink
Use the appropriate type of date in show_popover_closed
Browse files Browse the repository at this point in the history
Fixes GitHub issue #1116
  • Loading branch information
gycsaba96 authored and diegogangl committed Jun 24, 2024
1 parent c501ff8 commit cc997f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GTG/gtk/editor/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc997f6

Please sign in to comment.