aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/group.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-05-09 13:17:31 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-05-09 13:17:31 +0200
commit45edc9cd1be13899b9d65372480bbcd84511d314 (patch)
treef052b03b535b4d9af94e7f4214bcb0436a6f3543 /module/vcomponent/group.scm
parentClean up util header. (diff)
downloadcalp-optional-dtend.tar.gz
calp-optional-dtend.tar.xz
Start work on making DTEND optional.optional-dtend
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)))