emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* exporting customized timestamps
@ 2011-08-29 14:24 Matt Price
  2011-12-28 16:29 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2011-08-29 14:24 UTC (permalink / raw)
  To: Org Mode

Hi everyone,

I'm trying to understand timestamps a bit better.  I'm exporting my
syllabus to html, using org2blog for my wordpress course site. The
syllabus includes a timestamp at the beginning of each week of the
description.  org-time-stamp-custom-formats is set to:

("<%m/%d/%Y>" . "<%m/%d/%y %a %H:%M>")

which is sort of the American standard (sidenote: how do I toggle
between these custom values? I only seem to be able to toggle between
overlaid and not overlaid).

In Emacs, when I look at my org file, thetimestamp displays just as I
want it to.  But on export to HTML, the timestamp returns to the ISO
format ("2011-10-06 Thu").  Is this an inevitable behaviour?  if not,
how do I get around it?  I can more or less live with this output, but
it's a bit awkward for my students to read.

Thanks very much!
matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: exporting customized timestamps
  2011-08-29 14:24 exporting customized timestamps Matt Price
@ 2011-12-28 16:29 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2011-12-28 16:29 UTC (permalink / raw)
  To: Matt Price; +Cc: Org Mode

Hi Matt,

Matt Price <moptop99@gmail.com> writes:

> I'm trying to understand timestamps a bit better.  I'm exporting my
> syllabus to html, using org2blog for my wordpress course site. The
> syllabus includes a timestamp at the beginning of each week of the
> description.  org-time-stamp-custom-formats is set to:
>
> ("<%m/%d/%Y>" . "<%m/%d/%y %a %H:%M>")
>
> which is sort of the American standard (sidenote: how do I toggle
> between these custom values? I only seem to be able to toggle between
> overlaid and not overlaid).
>
> In Emacs, when I look at my org file, thetimestamp displays just as I
> want it to.  But on export to HTML, the timestamp returns to the ISO
> format ("2011-10-06 Thu").  Is this an inevitable behaviour?  

For now yes -- the custom format in your Emacs buffer is just an
overlay, the real text under this overlay still uses the default 
format.  And the exporter uses this default format.

This is the kind of shortcomings that we hope we can solve with
the new exporter -- but this needs a lots of rewriting.

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-31  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29 14:24 exporting customized timestamps Matt Price
2011-12-28 16:29 ` Bastien

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).