aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/group.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/vcomponent/group.scm')
-rw-r--r--module/vcomponent/group.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/vcomponent/group.scm b/module/vcomponent/group.scm
index 1e5728c6..da912e4d 100644
--- a/module/vcomponent/group.scm
+++ b/module/vcomponent/group.scm
@@ -26,7 +26,8 @@
;; of tommorow, and finishes with the rest when it finds the first
;; object which begins tomorow (after midnight, exclusize).
(filter-sorted-stream*
- (lambda (e) (date/-time<? tomorow (attr e 'DTEND)))
+ ;; TODO Calculate Alternative DTEND better?
+ (lambda (e) (date/-time<? tomorow (or (attr e 'DTEND) (attr e 'DTSTART))))
(lambda (e) (date/-time<=? tomorow (attr e 'DTSTART)))
stream)))