aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/xcal/types.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/vcomponent/formats/xcal/types.scm')
-rw-r--r--module/vcomponent/formats/xcal/types.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/vcomponent/formats/xcal/types.scm b/module/vcomponent/formats/xcal/types.scm
index 82121d5e..812f1d20 100644
--- a/module/vcomponent/formats/xcal/types.scm
+++ b/module/vcomponent/formats/xcal/types.scm
@@ -1,5 +1,6 @@
(define-module (vcomponent formats xcal types)
:use-module (hnh util)
+ :use-module (hnh util table)
:use-module (vcomponent formats ical types)
:use-module (datetime)
:use-module (calp translation)
@@ -16,7 +17,7 @@
(define (write-datetime p v)
`(,(xml xcal 'date-time)
,(datetime->string
- (hashq-ref p '-X-HNH-ORIGINAL v)
+ (table-get p '-X-HNH-ORIGINAL v)
;; 'Z' should be included for UTC,
;; other timezones MUST be specified
;; in the TZID parameter.