Add description to extract_exdates function.
pull/27/head
dlichtistw 2018-09-17 18:54:05 +02:00
rodzic 4faddf5b55
commit 89c64a896e
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -345,6 +345,12 @@ def create_recurring_events(start, end, component):
def extract_exdates(component):
"""
Compile a list of all exception dates stored with a component.
:param component: icalendar iCal component
:return: exception dates
"""
dates = []
exd_prop = component.get('exdate')