python-caldav / caldav

Apache License 2.0
312 stars 91 forks source link

Fixed duplicate RECURRENCE-ID when expanding events #395

Open dozed opened 2 months ago

dozed commented 2 months ago

Fixes https://github.com/python-caldav/caldav/issues/394

There is an issue with Xandikos: when searching for the events a 500 Internal Server Error is returned. This might need some investigation.

tobixen commented 2 months ago
  File "/home/runner/work/caldav/caldav/.tox/py/lib/python3.10/site-packages/xandikos/icalendar.py", line 1039, in asutc
153
    return dt.astimezone(pytz.utc).replace(tzinfo=None)
154
AttributeError: 'datetime.date' object has no attribute 'astimezone'
155

This seems to be a problem with Xandikos.

tobixen commented 2 months ago

@jelmer - do you have time to look into the broken test here?