[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] export of formatted date macro fails

From: Robert Klein
Subject: [O] export of formatted date macro fails
Date: Wed, 27 Sep 2017 14:50:41 +0200


when I export a formatted date via the {{{date}}} macro _and_ use e.g.
commas and/or spaces, I only get the first component in the exported
file (tested for HTML and PDF export).

E.g. in my document I have a date:

#+DATE: [2008-11-09 Sun 11:00]

and later the macro

{{{date(%A, %B %e, %Y)}}

The exported document only has the "Sunday" (%A) part of the date.

Same for {{{date(%A,%B%e,%Y)}}.

So far I see (org-timestamp-format timestamp "%A, %B %e, %Y") works for
a timestamp created by (org-element-timestamp-parser).

I don't understand the macro code at all (e.g.. org-macro-replace-all).

Versions are:

Org mode version 9.1.1 (release_9.1.1-7-g226d2f
@ /home/roklein/.emacs.d/org-mode/lisp/)

GNU Emacs 25.3.1 (x86_64-unknown-openbsd, GTK+ Version 2.24.31) of

Any help is greatly appreciated.

Thank you very much.

Best regards

reply via email to

[Prev in Thread] Current Thread [Next in Thread]