Commit ee0b6d23 authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

FIX: Timestamps on calendar parsed objects should be of type string, not datetime

parent 9ba2c185
Pipeline #132 passed with stages
in 6 minutes
......@@ -39,7 +39,7 @@ class CalendarIcalPlugin(Plugin, CalendarInterface):
return (
dateutil.parser.isoparse(t.dt.isoformat())
.replace(tzinfo=pytz.timezone('UTC'))
)
).isoformat()
@classmethod
def _translate_event(cls, event):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment