From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: [PATCH] Re: What is the best way to set #+DATE to today's date? Date: Fri, 7 Aug 2015 16:20:30 +0200 Message-ID: <20150807142030.GI28462@chitra.no-ip.org> References: <86egjg3wx8.fsf@example.com> <87y4hneay5.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiVf-0005te-NZ for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 10:20:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNiVd-0000lw-U9 for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 10:20:35 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:38352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNiVd-0000lp-MO for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 10:20:33 -0400 Received: by wibxm9 with SMTP id xm9so67927402wib.1 for ; Fri, 07 Aug 2015 07:20:32 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id kb1sm14892404wjc.24.2015.08.07.07.20.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2015 07:20:31 -0700 (PDT) Content-Disposition: inline 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: emacs-org list On Fri, Aug 07, 2015 at 10:01:42AM -0400, Kaushal wrote: > @Fabrice Thanks for sharing your examples! > > @Suvayu I tried removing #+DATE: line.. but with that I don't see the date > stamp in html exports. The advantage of {{{time(FORMAT)}}} is that I can > also control the formatting of the date-time stamp. I just tested it, I get the following at the end of the exported html document:

Author: Suvayu Ali

Created: 2015-08-07 Fri 16:14

Validate

I don't know any html, were you expecting something else? About the format, take a look at org-time-stamp-custom-formats and org-time-stamp-formats; eventhough they are for timestamps in the document, maybe they honour the document creation timestamp. -- Suvayu Open source is the future. It sets us free.