From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] Date format string not handled for LaTeX export Date: Tue, 30 Oct 2012 10:29:32 +0100 Message-ID: <87ehkgpatf.fsf@gmail.com> References: <87fw4xqviy.fsf@gmail.com> <87y5iposs7.fsf@gmail.com> <2124.1351551955@alphaville> <87mwz4ph3a.fsf@gmail.com> <508F9B53.40600@no8wireless.co.nz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT8BI-0001PX-0c for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 05:32:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT8B8-00007e-DW for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 05:32:19 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:33687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT8B8-00007X-6n for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 05:32:10 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so2249160wib.12 for ; Tue, 30 Oct 2012 02:32:09 -0700 (PDT) In-Reply-To: <508F9B53.40600@no8wireless.co.nz> (Michael Gauland's message of "Tue, 30 Oct 2012 22:18:11 +1300") 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: Michael Gauland Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Michael Gauland writes: > I think I understand what's going on now, but I'm still at a loss as to > how to get the date I want. Can I tell the exporter that the date on the > document should be derived from the current time (or the last > modification time), formatted a particular way? For example, I can use > this macro to put the current time in my document: > > {{{time(%Y-%m-%d %H:%M)}}} > > How can I set #+DATE to get an equivalent result? Doesn't #+DATE: {{{time(%Y-%m-%d %H:%M)}}} get you what you expect? Regards,