emacs-orgmode
[Top][All Lists]
Advanced

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

Re: org-capture-templates: %date is too long


From: Uwe Brauer
Subject: Re: org-capture-templates: %date is too long
Date: Thu, 04 Mar 2021 15:22:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> "AA" == Alberto AP <alberto.arias@gm.uca.es> writes:

Hi


> Hi
> What I use is the result of format-time-string (as explained in the Org
> Capture Templates help; check also the help for the format-time-string
> function).

> The string I use is:
> %<%Y%m%d-T%H%M%S>
> It gives me, for example, 20210304-T095526.

> If you don't want the hour just remove "-T%H%M%S"

Sorry, you misunderstood me, this time string, inserts the time string,
when I execute the capture, but I want to extract the time string, when
the message was received. This is why I used 
%:date
in my first attempt, that works but inserts 
Tue, 2 Mar 2021 19:35:03 +0100  

Which I find way too long.

Just 
Tue, 2 Mar 2021 

Would be fine or 02.03.2021

But not the hour, seconds etc

Uwe Brauer 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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