diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-09 13:17:31 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-09 13:17:31 +0200 |
commit | 45edc9cd1be13899b9d65372480bbcd84511d314 (patch) | |
tree | f052b03b535b4d9af94e7f4214bcb0436a6f3543 /module/vcomponent/group.scm | |
parent | Clean up util header. (diff) | |
download | calp-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.scm | 3 |
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))) |