diff --git a/tk/mcron.scm b/tk/mcron.scm index 82d4d41..74131d3 100644 --- a/tk/mcron.scm +++ b/tk/mcron.scm @@ -29,7 +29,5 @@ ;; Normalize the time tm to be the next step sized increment from base. ;; All time arguments are expected to be a time in seconds (define (step-from base step tm) - (let ((steps (truncate-quotient (abs (- tm base)) step))) + (let ((steps (euclidean-quotient (- tm base) step))) (+ base (* step (+ 1 steps))))) - -