aboutsummaryrefslogtreecommitdiff
path: root/module/output
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-03-23 00:34:48 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-03-23 00:36:21 +0100
commitf4f8f502f0f7219139926c352283057ab0697105 (patch)
treec3fdf2e1dcfd5a404f48d3f06130cb85d5640ef5 /module/output
parentFix TZ problem with datetime<. (diff)
downloadcalp-f4f8f502f0f7219139926c352283057ab0697105.tar.gz
calp-f4f8f502f0f7219139926c352283057ab0697105.tar.xz
Remove unused datetime->decimal-hour.
Diffstat (limited to 'module/output')
-rw-r--r--module/output/html.scm7
1 files changed, 0 insertions, 7 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index baa2915f..1f4b8e2f 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -41,13 +41,6 @@
(/ (minute time) 60)
(/ (second time) 3600))))
-(define (datetime->decimal-hour datetime)
- ;; (+ (time->decimal-hour (get-time datetime))
- ;; (date->decimal-hour (get-date datetime)))
- (+ (time->decimal-hour (get-time datetime))
- ;; TODO
- (* 3600 24 (day (get-date datetime)))))
-
;; Retuns an HTML-safe version of @var{str}.
(define (html-attr str)
(define cs (char-set-adjoin char-set:letter+digit #\- #\_))