Skip to content

Commit

Permalink
Only show date for events that are not today
Browse files Browse the repository at this point in the history
  • Loading branch information
rosenpin committed Jan 25, 2021
1 parent 2f34590 commit 81d5026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i3_agenda/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 81d5026

Please sign in to comment.