From f4f8f502f0f7219139926c352283057ab0697105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 23 Mar 2020 00:34:48 +0100 Subject: Remove unused datetime->decimal-hour. --- module/output/html.scm | 7 ------- 1 file changed, 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 #\- #\_)) -- cgit v1.2.3