aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2020-02-13 23:58:02 +0100
committerHugo Hörnquist <hugo@hornquist.se>2020-02-13 23:58:02 +0100
commit4773f0ca11e4a1369f168a99f6bd1d09aa6f6087 (patch)
treeec35e8d1c6c672749eddd0bb49d787392f77d5a5 /module
parentHopefully fixed date+ bugs. (diff)
downloadcalp-4773f0ca11e4a1369f168a99f6bd1d09aa6f6087.tar.gz
calp-4773f0ca11e4a1369f168a99f6bd1d09aa6f6087.tar.xz
Add missing hour to time->decimal-hour.
Diffstat (limited to 'module')
-rw-r--r--module/output/html.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index cf70b583..46abfdb6 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -62,7 +62,8 @@
;; For that see @var{date->decimal-hour}.
;; NOTE Above comment probably deprecated
(define (time->decimal-hour time)
- (exact->inexact (+ (/ (minute time) 60)
+ (exact->inexact (+ (hour time)
+ (/ (minute time) 60)
(/ (second time) 3600))))
(define (html-attr str)