diff --git a/khal/icalendar.py b/khal/icalendar.py index 39e6eda8f..ba3a554a9 100644 --- a/khal/icalendar.py +++ b/khal/icalendar.py @@ -246,7 +246,7 @@ def sanitize_datetime(date: dt.date) -> dt.date: if allday and isinstance(date, dt.datetime): date = date.date() if events_tz is not None: - date = events_tz.localize(date) + date = date.replace(tzinfo=events_tz) return date rrule_param = vevent.get('RRULE')