From 34a104be37aaee25a9ae51727c4e2bec08446895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 17 Jul 2020 01:11:23 +0200 Subject: Resolve TODO about datetime output. --- module/output/types.scm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'module/output') diff --git a/module/output/types.scm b/module/output/types.scm index 76a03ff1..ad6a39a2 100644 --- a/module/output/types.scm +++ b/module/output/types.scm @@ -16,13 +16,11 @@ (date->string value "~Y~m~d")) (define (write-datetime param value) + ;; NOTE We really should output TZID from param here, but + ;; we first need to change so these writers can output + ;; parameters. (datetime->string (hashq-ref param 'X-HNH-ORIGINAL value) - ;; TODO ~Z ? - "~Y~m~dT~H~M~S~Z" - #; - (let ((tz (and=> (param vline 'TZID) car))) - (when (and tz (string= tz "UTC")) - (display #\Z))))) + "~Y~m~dT~H~M~S~Z")) ;; TODO (define (write-duration _ value) -- cgit v1.2.3