From 81d5026edb9301a21af81117763ddffe0545b4bf Mon Sep 17 00:00:00 2001 From: Tomer Rosenfeld Date: Mon, 25 Jan 2021 15:28:14 +0200 Subject: [PATCH] Only show date for events that are not today --- i3_agenda/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3_agenda/__init__.py b/i3_agenda/__init__.py index 9d52984..8e055f2 100755 --- a/i3_agenda/__init__.py +++ b/i3_agenda/__init__.py @@ -121,7 +121,7 @@ def main(): result = str(get_display(closest.summary)) if (event.date() == today.date()): - print(f"{event:Today at %H:%M} " + result) + print(f"{event:%H:%M} " + result) elif (event.date() == tomorrow.date()): print(f"{event:Tomorrow at %H:%M} " + result) else: