diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/datetime.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/datetime.scm b/module/datetime.scm index 3b03bf53..9657a803 100644 --- a/module/datetime.scm +++ b/module/datetime.scm @@ -535,6 +535,7 @@ (iota (modulo (- (* 7 5) month-len month-start) 7) 1))))) +;; The amount of days in the given interval, both end pointts inclusive (define-public (days-in-interval start-date end-date) (let ((diff (date-difference (date+ end-date (date day: 1)) start-date))) (with-streams |