forked from platypush/platypush
FIX: Timestamps on calendar parsed objects should be of type string, not datetime
This commit is contained in:
parent
9ba2c18595
commit
ee0b6d237a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class CalendarIcalPlugin(Plugin, CalendarInterface):
|
||||||
return (
|
return (
|
||||||
dateutil.parser.isoparse(t.dt.isoformat())
|
dateutil.parser.isoparse(t.dt.isoformat())
|
||||||
.replace(tzinfo=pytz.timezone('UTC'))
|
.replace(tzinfo=pytz.timezone('UTC'))
|
||||||
)
|
).isoformat()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _translate_event(cls, event):
|
def _translate_event(cls, event):
|
||||||
|
|
Loading…
Reference in a new issue