From 7b04a74a1f97a898adfc0a2147b7ea62824039ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 25 Mar 2020 00:03:56 +0100 Subject: Fix bug in date-difference. --- module/datetime.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module') diff --git a/module/datetime.scm b/module/datetime.scm index aebc7433..aa9a15f1 100644 --- a/module/datetime.scm +++ b/module/datetime.scm @@ -609,7 +609,8 @@ (if (> (month a) (month b)) (loop (set-> b (year = (- 1)) - (month 11)) + (month 11) + (day 30)) (set (month a) = (- (month b)))) ;; elif (> (month b) (month a)) (values (set (month b) = (- (month a))) -- cgit v1.2.3