From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: how to customize date export Date: Tue, 4 Feb 2014 18:45:49 +0000 Message-ID: <87ob2m3eea.fsf@ucl.ac.uk> References: <87txchqpgu.fsf@ucl.ac.uk> <87wqhcfa78.fsf@ucl.ac.uk> <87vbww6pcj.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlE9-0004Xm-BJ for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 14:00:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAlE0-0006Mq-3r for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 14:00:08 -0500 Received: from tx2outboundsmtppool1.messaging.microsoft.com ([65.55.83.131]:11603 helo=TX2EHSNDR001.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAlDz-0006MZ-V9 for emacs-orgmode@gnu.org; Tue, 04 Feb 2014 14:00:00 -0500 In-Reply-To: <87vbww6pcj.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Mon, 3 Feb 2014 13:08:44 -0500") 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: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: [...] > Based on Eric's hint, I followed org-translate-time's docstring (and > references therein) and I came up with this which seems to work (in the > sense that the dates look like <2014/02/03 Monday> when exported, > which agrees with the specified format): > > #+STARTUP: customtime > > * foo > <2014-02-03 Mon> > > # Local Variables: > # org-time-stamp-custom-formats: ("<%Y/%m/%d %A>" . "<%Y/%m/%d %A %H:%M>") > # End: > > However, the angle brackets seem to be required. > > Nick I'm glad my hint was helpful. Interestingly, the angle brackets are not required per se. However, there does have to be some character there, in both places, and that character is replaced by an angle bracket on export (and probably on display as well but I am using BIND instead of local variable settings to set the custom format). -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-585-g5f0ca0