mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
parent
8b4539e9e5
commit
a9c6082e4f
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class CaldavStorage(DavStorage):
|
|||
</C:calendar-query>'''
|
||||
start = self.start_date
|
||||
end = self.end_date
|
||||
if start and end:
|
||||
if start is not None and end is not None:
|
||||
start = start.strftime(CALDAV_DT_FORMAT)
|
||||
end = end.strftime(CALDAV_DT_FORMAT)
|
||||
caldavfilter = ('<C:time-range start="{start}" end="{end}"/>'
|
||||
|
|
|
|||
Loading…
Reference in a new issue