             ; convert MODIFIED prop to string
             (modifiedstr (cdr (assoc-string "MODIFIED" org-file-properties t)))
             ; prepare date property
-            (dateobj (car (plist-get (org-export-get-environment) ':date)))
-            )
+            (dateobj (car (plist-get (org-export-get-environment) ':date))))
 
         ; check if #+TITLE: is given and give sensible error message if not
         (if (symbolp (car (plist-get org-export-env :title)))

(require 'json)
(require 'org)
(require 'ox)

(defun org->pelican (filename backend)
  (progn

                 :modified (if (stringp modifiedstr)
                               (org-read-date nil nil modifiedstr nil)
                             "")
                 :post (org-export-as backend nil nil t))))))))
