mirror of
https://github.com/Kozea/Radicale.git
synced 2025-07-23 17:48:30 +00:00
Convert EXDATE and RDATE to same type as DTSTART
Fixes #1146 Closes #1199
This commit is contained in:
parent
dc3a733f04
commit
ef9a2fbab8
3 changed files with 65 additions and 2 deletions
|
@ -97,6 +97,12 @@ permissions: RrWw""")
|
|||
assert xml.tag == xmlutils.make_clark("D:error")
|
||||
assert xml.find(xmlutils.make_clark("C:no-uid-conflict")) is not None
|
||||
|
||||
def test_add_event_with_mixed_datetime_and_date(self) -> None:
|
||||
"""Test event with DTSTART as DATE-TIME and EXDATE as DATE."""
|
||||
self.mkcalendar("/calendar.ics/")
|
||||
event = get_file_content("event_mixed_datetime_and_date.ics")
|
||||
self.put("/calendar.ics/event.ics", event)
|
||||
|
||||
def test_add_todo(self) -> None:
|
||||
"""Add a todo."""
|
||||
self.mkcalendar("/calendar.ics/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue