From a48ce9127be18d4b25caf65398332604113716de Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Mon, 20 Jan 2020 22:59:53 +0100 Subject: Implement "single" cloze type --- org-fc-awk.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'org-fc-awk.el') diff --git a/org-fc-awk.el b/org-fc-awk.el index d3ca453..40e8a7b 100644 --- a/org-fc-awk.el +++ b/org-fc-awk.el @@ -61,16 +61,12 @@ each separated by a tab, into a keyword-number plist." ;;;; TSV -(defun org-fc-tsv--parse-date (date) - "Parse an ISO8601 date to an Emacs time." - (parse-iso8601-time-string (concat date ":00"))) - (defun org-fc-tsv--parse-element (header element) "Parse an ELEMENT of a row given a single HEADER element." (if (listp header) (pcase (cdr header) ('string element) - ('date (org-fc-tsv--parse-date element)) + ('date (parse-iso8601-time-string element)) ('number (string-to-number element)) ('symbol (intern element)) ('keyword (intern (concat ":" element))) -- cgit v1.2.3