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: Emanuel Berg
Subject: Re: using header data in document
Date: Wed, 16 Sep 2020 17:56:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Eric S Fraga wrote:

>> {{{date()}}} works as does {{{date(%D)}}} in
>> a sense, only the format string doesn't seem to
>> influence the output, which is "September 16,
>> 2020".
>
> 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".

> And, in practice, I actually use
> {{{modification-time(FORMAT)}}}. In both of these
> cases, you need to specify the format.

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

Thanks!

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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