removed sorting at incorrect location

pull/118/head
elizaaverywilson 2022-09-18 18:33:59 -05:00 zatwierdzone przez GitHub
rodzic 6e1895775c
commit 4b0d65cc20
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -320,7 +320,7 @@ def parse_events(content, start=None, end=None, default_span=timedelta(days=7)):
:param start: start date for search, default today (in UTC format)
:param end: end date for search (in UTC format)
:param default_span: default query length (one week)
:return: events as list sorted by ascending time
:return: events as list
"""
if not start:
start = now()
@ -474,7 +474,7 @@ def parse_events(content, start=None, end=None, default_span=timedelta(days=7)):
]:
result.remove(event)
return result.sort()
return result
def parse_rrule(component, tz=UTC):