emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: how to customize date export
Date: Tue, 4 Feb 2014 18:45:49 +0000	[thread overview]
Message-ID: <87ob2m3eea.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87vbww6pcj.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Mon, 3 Feb 2014 13:08:44 -0500")

Nick Dokos <ndokos@gmail.com> 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	other threads:[~2014-02-04 19:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-31 18:21 how to customize date export Mirko Vukovic
2014-02-02 19:33 ` Eric S Fraga
2014-02-03 15:15   ` Mirko Vukovic
2014-02-03 16:11     ` Eric S Fraga
2014-02-03 18:08       ` Nick Dokos
2014-02-04 18:45         ` Eric S Fraga [this message]
2014-02-04 21:48         ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob2m3eea.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).