From e822f7b81245c919eda8bd8ad4b482df075e0508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 24 Jan 2020 20:21:41 +0100 Subject: Start of new date structures. --- module/entry-points/terminal.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'module/entry-points/terminal.scm') diff --git a/module/entry-points/terminal.scm b/module/entry-points/terminal.scm index 45f9b8eb..df15116c 100644 --- a/module/entry-points/terminal.scm +++ b/module/entry-points/terminal.scm @@ -3,8 +3,8 @@ :use-module (output terminal) :use-module (vcomponent) :use-module (ice-9 getopt-long) - :use-module (srfi srfi-19) - :use-module (srfi srfi-19 util) + :use-module (srfi srfi-19 alt) + :use-module (srfi srfi-19 alt util) :use-module (parameters) :use-module (vulgar) ) @@ -20,9 +20,8 @@ calendar-files: (cond [(option-ref opts 'file #f) => list] [else (calendar-files)]) )) - (let ((time (date->time-utc - (drop-time (or (and=> (option-ref opts 'date #f) parse-freeform-date) - (current-date)))))) + (let ((time (drop-time (or (and=> (option-ref opts 'date #f) parse-freeform-date) + (current-date))))) ;; (format (current-error-port) "len(events) = ~a~%" (stream-length events)) (with-vulgar (lambda () (main-loop time events)))) -- cgit v1.2.3