[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: `org-timestamp-format' does not return correct time [8.2.10
From: |
Kyle Meyer |
Subject: |
Re: [O] Bug: `org-timestamp-format' does not return correct time [8.2.10 (8.2.10-41-g42228a-elpa @ /home/gk/.emacs.d/packages/org-20150601/)] |
Date: |
Thu, 12 Nov 2015 00:57:29 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Yaniv,
[You forgot to include the list. Adding now.]
Yaniv Gilad <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Bug: `org-timestamp-format' does not return correct time [8.2.10 (8.2.10-41-g42228a-elpa @ /home/gk/.emacs.d/packages/org-20150601/)],
Kyle Meyer <=