feat: Implement CalDAV client and FastMCP server exposing calendar event management tools.
This commit is contained in:
7
test_rrule.py
Normal file
7
test_rrule.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from icalendar import vRecur
|
||||
|
||||
rrule_dict_str = {'FREQ': 'WEEKLY', 'BYDAY': 'MO,WE'}
|
||||
rrule_dict_list = {'FREQ': 'WEEKLY', 'BYDAY': ['MO', 'WE']}
|
||||
|
||||
print(f"String input result: {vRecur(rrule_dict_str).to_ical().decode('utf-8')}")
|
||||
print(f"List input result: {vRecur(rrule_dict_list).to_ical().decode('utf-8')}")
|
||||
Reference in New Issue
Block a user