[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-capture, :default-time and <...>
From: |
Bastien |
Subject: |
Re: [O] [PATCH] org-capture, :default-time and <...> |
Date: |
Tue, 29 Jul 2014 17:10:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Erik,
Erik Hetzner <address@hidden> writes:
> What I would like to do is have something a capture template string
> similar to %^t, but with a custom date format string, e.g.
> %^<%Y/%m/%d>. Is this possible in some way?
I'd use this in the capture template:
%(format-time-string "%Y/%m/%d" (org-time-string-to-time (org-read-date)))
but %^<...> would make sense to, I'll add it to the requested features.
HTH,
--
Bastien