mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
fixes test_report_with_expand_property_all_day_event
Signed-off-by: David Greaves <david@dgreaves.com>
This commit is contained in:
parent
feb3daf251
commit
056954387d
1 changed files with 2 additions and 1 deletions
|
@ -402,7 +402,8 @@ def _expand(
|
||||||
if time_range_start is not None and time_range_end is not None:
|
if time_range_start is not None and time_range_end is not None:
|
||||||
dtstart = recurrence_utc
|
dtstart = recurrence_utc
|
||||||
dtend = dtstart + duration if duration else dtstart
|
dtend = dtstart + duration if duration else dtstart
|
||||||
if not (dtstart < time_range_end and dtend > time_range_start):
|
# Start includes the time, end does not
|
||||||
|
if not (dtstart <= time_range_end and dtend > time_range_start):
|
||||||
logger.debug("Recurrence %s filtered out by time-range", recurrence_utc)
|
logger.debug("Recurrence %s filtered out by time-range", recurrence_utc)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue