aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/group.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-06-30 01:58:19 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-07-07 13:10:38 +0200
commit715e36ab81389ebf53ea158027d0a83f144eee0e (patch)
tree1e9522ba3bf4aef212d0b1d179e9bf1db2e6f60b /module/vcomponent/group.scm
parentRename attributes => properties, properties => parameters. (diff)
downloadcalp-715e36ab81389ebf53ea158027d0a83f144eee0e.tar.gz
calp-715e36ab81389ebf53ea158027d0a83f144eee0e.tar.xz
Finished renamining attribute to property.
Diffstat (limited to 'module/vcomponent/group.scm')
-rw-r--r--module/vcomponent/group.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/vcomponent/group.scm b/module/vcomponent/group.scm
index 72acbce9..76aed2fd 100644
--- a/module/vcomponent/group.scm
+++ b/module/vcomponent/group.scm
@@ -13,7 +13,7 @@
(if (stream-null? in-stream)
stream-null
- (let loop ((days (day-stream (as-date (attr (stream-car in-stream) 'DTSTART))))
+ (let loop ((days (day-stream (as-date (prop (stream-car in-stream) 'DTSTART))))
(stream in-stream))
(let* ((day (stream-car days))
(tomorow (stream-car (stream-cdr days))))
@@ -27,11 +27,11 @@
;; object which begins tomorow (after midnight, exclusize).
(filter-sorted-stream*
(lambda (e) (date/-time<? tomorow
- (or (attr e 'DTEND)
- (if (date? (attr e 'DTSTART))
- (date+ (attr e 'DTSTART) (date day: 1))
- (attr e 'DTSTART)))))
- (lambda (e) (date/-time<=? tomorow (attr e 'DTSTART)))
+ (or (prop e 'DTEND)
+ (if (date? (prop e 'DTSTART))
+ (date+ (prop e 'DTSTART) (date day: 1))
+ (prop e 'DTSTART)))))
+ (lambda (e) (date/-time<=? tomorow (prop e 'DTSTART)))
stream)))