From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] adhere org-export-date-timestamp-format? Date: Sun, 06 Jan 2013 11:00:21 +0100 Message-ID: <87bod2637u.fsf@gmail.com> References: <877gpj3raa.fsf@pank.eu> <87623stdza.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Trn5d-0002qi-Lv for emacs-orgmode@gnu.org; Sun, 06 Jan 2013 05:04:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Trn5c-00072K-GK for emacs-orgmode@gnu.org; Sun, 06 Jan 2013 05:04:25 -0500 Received: from mail-we0-f178.google.com ([74.125.82.178]:58059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Trn5c-00072D-8b for emacs-orgmode@gnu.org; Sun, 06 Jan 2013 05:04:24 -0500 Received: by mail-we0-f178.google.com with SMTP id x43so8868531wey.37 for ; Sun, 06 Jan 2013 02:04:23 -0800 (PST) In-Reply-To: <87623stdza.fsf@bzg.ath.cx> (Bastien's message of "Mon, 24 Dec 2012 02:50:49 +0100") 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: Bastien Cc: emacs-orgmode@gnu.org, Rasmus Hello, Bastien writes: > Rasmus writes: > >> Would it be desirable if the new exporter took the variable >> org-export-date-timestamp-format into consideration when formatting >> dates? > > I think so. What do you think, Nicolas? I'm not convinced by this variable. Back-ends are usually so much different that a global variable aiming at formatting a date timestamp in any of them doesn't sound very useful. Though it may be the job of back-ends to provide such a variable variable, whenever it makes sense. Another option would be to allow to specify an arbitrary timestamp as a second, optional, argument to {{{time(...)}}} macro. One could then use: #+DATE: {{{time(%Y-%m-%d,<2013-01-06 Sun>)}}} Regards, -- Nicolas Goaziou