diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-31 00:38:00 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-31 00:38:00 +0200 |
commit | 4889e9fc9d4756803c0eb7f700ecd32fcfa61404 (patch) | |
tree | a98ab11468a651e113687bf462f47abdafb243ba /module/vcomponent/parse.scm | |
parent | Fixed minor errors in HTML output. (diff) | |
download | calp-4889e9fc9d4756803c0eb7f700ecd32fcfa61404.tar.gz calp-4889e9fc9d4756803c0eb7f700ecd32fcfa61404.tar.xz |
Rename parse-date to parse-ics-date, add parse-iso-date.
Diffstat (limited to 'module/vcomponent/parse.scm')
-rw-r--r-- | module/vcomponent/parse.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/vcomponent/parse.scm b/module/vcomponent/parse.scm index 8efa9e62..7ae966a1 100644 --- a/module/vcomponent/parse.scm +++ b/module/vcomponent/parse.scm @@ -210,9 +210,9 @@ row ~a column ~a ctx = ~a (let ((type (and=> (prop it 'VALUE) car))) (if (or (and=> type (cut string=? <> "DATE-TIME")) (string-contains (value it) "T")) - (set! (value it) (parse-datetime (value it) tz) + (set! (value it) (parse-ics-datetime (value it) tz) (prop it 'VALUE) 'DATE-TIME) - (set! (value it) (parse-date (value it)) + (set! (value it) (parse-ics-date (value it)) (prop it 'VALUE) 'DATE))))]) |