diff --git a/platypush/plugins/calendar/ical/__init__.py b/platypush/plugins/calendar/ical/__init__.py index 20e415cff..fdebdf705 100644 --- a/platypush/plugins/calendar/ical/__init__.py +++ b/platypush/plugins/calendar/ical/__init__.py @@ -95,7 +95,7 @@ class CalendarIcalPlugin(Plugin, CalendarInterface): if ( event['status'] != 'cancelled' and event['end'].get('dateTime') - and event['end']['dateTime'] >= datetime.datetime.now(pytz.timezone('UTC')) + and event['end']['dateTime'] >= datetime.datetime.now(pytz.timezone('UTC')).isoformat() and ( (only_participating and event.get('responseStatus') in [None, 'accepted', 'tentative'])