From 843013884b2e6e6a3eec9c5d21df035c2b13dcb2 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 22 May 2022 17:03:27 -0400 Subject: [PATCH] FIX make spans the correct length --- local/lib/org-x/org-x-dag.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/lib/org-x/org-x-dag.el b/local/lib/org-x/org-x-dag.el index 7cc033a..2864c8f 100644 --- a/local/lib/org-x/org-x-dag.el +++ b/local/lib/org-x/org-x-dag.el @@ -232,7 +232,7 @@ relative shift in days from ABS." acc) `((,abs . ,offset) ,@acc))))) (->> (-reduce-from #'to-interval nil date-offsets) - (--map `(,(car it) ,(+ 1 (car it) (cdr it))))))) + (--map `(,(car it) ,(+ (car it) (cdr it))))))) ;; date <-> quarter