[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Formatting dates in org-html postamble
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Formatting dates in org-html postamble |
Date: |
Sat, 19 Nov 2016 23:19:18 +0100 |
Hello,
Pavel Panchekha <address@hidden> 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