emacs-orgmode
[Top][All Lists]
Advanced

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

Re: using header data in document


From: Eric S Fraga
Subject: Re: using header data in document
Date: Wed, 16 Sep 2020 17:02:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Wednesday, 16 Sep 2020 at 17:56, Emanuel Berg via "General discussions about 
Org-mode." wrote:
> Eric S Fraga wrote:
>> The documentation that you have in your post says
>> that this works only if the actual date given in
>> the #+DATE directive is a single timestamp. So,
>> what did you specify there?
>
> I tried
>
>   {{{date()}}}
>   {{{date(%D)}}}
>   {{{date(%F)}}}
>
> all produced "September 16, 2020".

What I meant was: what does your #+date: line look like?  Is it a single
time stamp?  If it is not, all of the above would return the same thing.

> Yes, {{{modification-time(%F)}}} works!

Great.

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.7-725-g7bc18e



reply via email to

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