From ee0b6d237abdba4a3a39b4a552b46a323dc31689 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 5 Jan 2022 13:35:10 +0100 Subject: [PATCH] FIX: Timestamps on calendar parsed objects should be of type string, not datetime --- platypush/plugins/calendar/ical/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/calendar/ical/__init__.py b/platypush/plugins/calendar/ical/__init__.py index f2db31a9ed..20e415cfff 100644 --- a/platypush/plugins/calendar/ical/__init__.py +++ b/platypush/plugins/calendar/ical/__init__.py @@ -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):