diff --git a/src/icalendar/prop.py b/src/icalendar/prop.py index 1338a7c..e85d017 100644 --- a/src/icalendar/prop.py +++ b/src/icalendar/prop.py @@ -542,7 +542,6 @@ class vDatetime: return dt.strftime("%Y%m%dT%H%M%SZ") elif tzid: self.params.update({'TZID': tzid}) -# return "TZID=%s;%s" % (timezone, self.dt.strftime("%Y%m%dT%H%M%S")) The timezone should not be printed with the date, but rather in the containing component. return dt.strftime("%Y%m%dT%H%M%S") def from_ical(ical, timezone=None):