emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] how to customize date export


From: Eric S Fraga
Subject: Re: [O] how to customize date export
Date: Tue, 4 Feb 2014 18:45:49 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (gnu/linux)

Nick Dokos <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]