diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-14 17:44:39 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-05-14 17:44:39 +0200 |
commit | 8a1dbbb0b3158cdd8870e8abbbf485b8bf84c505 (patch) | |
tree | a53d16d6186df0a92fe1328b7eaf87d1ce999e69 /module/vcomponent/recurrence/display | |
parent | Remove some duplicates in recurrence set generation. (diff) | |
download | calp-8a1dbbb0b3158cdd8870e8abbbf485b8bf84c505.tar.gz calp-8a1dbbb0b3158cdd8870e8abbbf485b8bf84c505.tar.xz |
Remove recurrence instances before our start date.
Diffstat (limited to '')
-rw-r--r-- | module/vcomponent/recurrence/display/test.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/vcomponent/recurrence/display/test.scm b/module/vcomponent/recurrence/display/test.scm index 2e04adf7..bcfbaafe 100644 --- a/module/vcomponent/recurrence/display/test.scm +++ b/module/vcomponent/recurrence/display/test.scm @@ -20,7 +20,7 @@ (let ((count 0)) (lambda (comp) (mod! count = (+ 1)) - (format #t "~%~a > ~a~%" count (attr comp 'SUMMARY)) + (format #t "~%~a > \x1b[1m~a\x1b[m~%" count (attr comp 'SUMMARY)) (format #t "=> upprepas ~a.~%~{~a~^, ~}~%" (format-recurrence-rule (attr comp 'RRULE)) (map (lambda (d) (datetime->string d "~a ~1 ~3")) @@ -52,6 +52,8 @@ v) +;; TODO bysetpos + (map run-test (list (vevent @@ -304,8 +306,6 @@ Thursday, for the next 3 months" rrule: "FREQ=WEEKLY;INTERVAL=2;COUNT=4;BYDAY=TU,SU;WKST=MO") ;; => "varannan tisdag & söndag, 4 gånger." - ;; TODO this starts one to early (and by consequence ends one to early) - ;; first instance should be the 5th. (vevent summary: "changing only WKST from MO to SU, yields different results..." dtstart: "19970805T090000" |