summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcalendar-cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar-cli.py b/calendar-cli.py
index 7257beb..37b6a32 100755
--- a/calendar-cli.py
+++ b/calendar-cli.py
@@ -502,7 +502,7 @@ def calendar_agenda(caldav_conn, args):
dtstart = datetime(dtstart.year, dtstart.month, dtstart.day)
else:
if not dtstart.tzinfo:
- tzinfo.localize(dtstart)
+ dtstart = tzinfo.localize(dtstart)
## convert into timezone given in args:
dtstart = dtstart.astimezone(_tz(args.timezone))