forked from platypush/platypush
FIX: All timestamps should be isoformat strings, otherwise come comparisons may break
This commit is contained in:
parent
ee0b6d237a
commit
e242dc53bf
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class CalendarIcalPlugin(Plugin, CalendarInterface):
|
||||||
if (
|
if (
|
||||||
event['status'] != 'cancelled'
|
event['status'] != 'cancelled'
|
||||||
and event['end'].get('dateTime')
|
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 (
|
and (
|
||||||
(only_participating
|
(only_participating
|
||||||
and event.get('responseStatus') in [None, 'accepted', 'tentative'])
|
and event.get('responseStatus') in [None, 'accepted', 'tentative'])
|
||||||
|
|
Loading…
Reference in a new issue