diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-30 01:45:33 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-07-07 13:10:38 +0200 |
commit | d6304f9b0acd3894fd08fccee75ab47d10f9a64a (patch) | |
tree | 51c08b7e65d7ce41d97f51dcbe2557c1b851fd3b /module/output/types.scm | |
parent | Add basic event creation from HTML. (diff) | |
download | calp-d6304f9b0acd3894fd08fccee75ab47d10f9a64a.tar.gz calp-d6304f9b0acd3894fd08fccee75ab47d10f9a64a.tar.xz |
Rename attributes => properties, properties => parameters.
Diffstat (limited to '')
-rw-r--r-- | module/output/types.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/output/types.scm b/module/output/types.scm index 22f3ca5b..e5829ccf 100644 --- a/module/output/types.scm +++ b/module/output/types.scm @@ -16,12 +16,12 @@ (define (write-date _ value) (date->string value "~Y~m~d")) -(define (write-datetime prop value) - (datetime->string (hashq-ref prop 'X-HNH-ORIGINAL value) +(define (write-datetime param value) + (datetime->string (hashq-ref param 'X-HNH-ORIGINAL value) ;; TODO ~Z ? "~Y~m~dT~H~M~S~Z" #; - (let ((tz (and=> (prop vline 'TZID) car))) + (let ((tz (and=> (param vline 'TZID) car))) (when (and tz (string= tz "UTC")) (display #\Z))))) |