emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Pavel Panchekha <me@pavpanchekha.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Formatting dates in org-html postamble
Date: Sat, 19 Nov 2016 23:19:18 +0100	[thread overview]
Message-ID: <87d1hrkt95.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAE4=OQ-meFzipTE=Jq2KiS7EBf72Jbr=UwTRCEb9w6KdOeOgBA@mail.gmail.com> (Pavel Panchekha's message of "Sat, 19 Nov 2016 10:09:43 -0800")

Hello,

Pavel Panchekha <me@pavpanchekha.com> writes:

> I have
>
> #+TITLE: title here
>>
>
> #+DATE: <2016-10-20>
>>
>
> in an org file, with no other "#+" lines set.
>
> In my configuration file, I have set
>
> (setf org-html-postamble-format
>>       (list
>>        (list
>>         "en"
>>          "<p>By <a href='https://pavpanchekha.com' rel='author'>%a</a> on
>> <time>%d</time>.\n")))
>>
> (setf org-html-metadata-timestamp-format "%d %B %Y")
>>
>
> When I publish to HTML, the date is printed directly as "<2016-10-20 Thu>".
>
> I am using Emacs 25.1.1 and Org 9.0.1.
>
> I have looked through the code, and think the error is likely on line 1882
> of ox-html.el, where the date format ought to be passed to
> org-export-get-date as the optional second argument.

Fixed. Thank you for the report and the analysis.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-11-19 22:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19  8:45 Formatting dates in org-html postamble Pavel Panchekha
2016-11-19  9:33 ` Nicolas Goaziou
2016-11-19 18:09   ` Pavel Panchekha
2016-11-19 22:19     ` Nicolas Goaziou [this message]

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=87d1hrkt95.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=me@pavpanchekha.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).