From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Subject: Re: [PATCH] Re: What is the best way to set #+DATE to today's date? Date: Thu, 6 Aug 2015 17:22:06 -0400 Message-ID: References: <87bnekmknk.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c17b6adaf20b051cab1e99 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNSci-0001lD-I9 for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 17:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNSch-0002nJ-Cd for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 17:22:48 -0400 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:35178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNScg-0002my-SX for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 17:22:47 -0400 Received: by oihn130 with SMTP id n130so46806533oih.2 for ; Thu, 06 Aug 2015 14:22:46 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Nick Dokos , emacs-org list , Rasmus , John Kitchin --001a11c17b6adaf20b051cab1e99 Content-Type: text/plain; charset=UTF-8 I think you missed out explaining what {{{time(FORMAT)}}} does. -- Kaushal Modi On Thu, Aug 6, 2015 at 4:51 PM, Thomas S. Dye wrote: > OK, here is a patch that tries to do that. > > All the best, > Tom > > Kaushal writes: > > > Yeah, the documentation definitely needs refining. > > > > {{{date}}} / {{{date(FORMAT)}}} [FORMAT is optional] - Inserts the > > #+DATE keyword value; > > optionally formats as per FORMAT (Refer `format-time-string` function for > > syntax.){{{time(FORMAT)}}} - Inserts the current time stamp as per the > > FORMAT {{{modification-time(FORMAT)}}} - Inserts modification time of the > > file being exported as per the FORMAT > > > > -- > Thomas S. Dye > http://www.tsdye.com > > --001a11c17b6adaf20b051cab1e99 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think you missed out explaining what {{{= time(FORMAT)}}} does.


--
Kaushal Modi

On Thu, Aug 6, 2015 at 4:51 PM, Thomas S. Dy= e <= tsd@tsdye.com> wrote:
OK, h= ere is a patch that tries to do that.

All the best,
Tom

Kaushal <kaushal.modi@gmail.co= m> writes:

> Yeah, the documentation definitely needs refining.
>
> {{{date}}} / {{{date(FORMAT)}}} [FORMAT is optional] - Inserts the
> #+DATE keyword value;
> optionally formats as per FORMAT (Refer `format-time-string` function = for
> syntax.){{{time(FORMAT)}}} - Inserts the current time stamp as per the=
> FORMAT {{{modification-time(FORMAT)}}} - Inserts modification time of = the
> file being exported as per the FORMAT



--
Thomas S. Dye
http:= //www.tsdye.com


--001a11c17b6adaf20b051cab1e99--