diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-25 00:03:56 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-25 00:03:59 +0100 |
commit | 7b04a74a1f97a898adfc0a2147b7ea62824039ef (patch) | |
tree | 4925e5f30a21df6b4c29dd0f2bbd4341126ed544 /module | |
parent | Move some datetime procedures to propper modules. (diff) | |
download | calp-7b04a74a1f97a898adfc0a2147b7ea62824039ef.tar.gz calp-7b04a74a1f97a898adfc0a2147b7ea62824039ef.tar.xz |
Fix bug in date-difference.
Diffstat (limited to 'module')
-rw-r--r-- | module/datetime.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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))) |