summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-19 07:25:45 +0200
committerThanos Apollo <[email protected]>2023-12-19 07:25:45 +0200
commitd74b2cc9487590db8172e03a6d019044bf38bed7 (patch)
tree774e6547b2c6aadee8a4fdd63907448f9b812577
parenta3cef13ff9df1638830ebec83114236718f97fd7 (diff)
algorithm: Return next interval as date (yyyy mm dd)
-rw-r--r--gnosis-algorithm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis-algorithm.el b/gnosis-algorithm.el
index 64a7f99..fcc8afa 100644
--- a/gnosis-algorithm.el
+++ b/gnosis-algorithm.el
@@ -117,7 +117,7 @@ Returns a tuple: (INTERVAL N EF) where,
(t (if (= success 1)
(* ef last-interval)
(* ff last-interval))))))
- (list (round interval) (1+ n) next-ef)))
+ (list (gnosis-algorithm-date (round interval)) (1+ n) next-ef)))
(provide 'gnosis-algorithm)
;;; gnosis-algorithm.el ends here