Hi Yaniv,

[You forgot to include the list.  Adding now.]

Yaniv Gilad <yaniv...@gmail.com> writes:

> I’m seeing the same issue:
>
>  (let ((properties (org-export-get-environment)))
>         (princ (json-encode 
>                 (list 
>                  :date (org-timestamp-format (car (plist-get properties 
> :date)) "%Y-%m-%d")
>                  :author (substring-no-properties (car (plist-get properties 
> :author)))
>                  :category (cdr (assoc "CATEGORY" org-file-properties))
>                  :post (org-export-as backend nil nil t)
>                  :title (substring-no-properties (car (plist-get properties 
> :title))))))))))

org-timestamp-format takes an element, not a string.  See the two posts
below.

http://article.gmane.org/gmane.emacs.orgmode/102033
http://article.gmane.org/gmane.emacs.orgmode/102018

-- 
Kyle

Reply via email to