From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: emacs-orgmode@gnu.org
Subject: exported dates in ox-rss.el
Date: Sun, 06 Oct 2013 14:44:26 +0200 [thread overview]
Message-ID: <84y5661sd1.fsf@gmail.com> (raw)
Hello everyone,
I played a bit with the RSS export (contrib/lisp/ox-rss.el),
and found that the dates in the emitted output lack the month name:
<pubDate>Sat, 05 2013 15:44:49 +0200</pubDate> (the month "Oct"
is missing).
It turned out that the date format specifier "%h" is not
accepted by the runtime (MSVCRT.DLL) of my Windows installation
(a plain Windows 7 64 bit from year 2009).
I resolved my personal problem by simply replacing "%h"->"%b"
in my ox-rss.el, but may I please ask to good-willed Windows+Emacs
users around if they face the same issue (or if it's just me).
Here is a simple test: open an empty buffer and type:
(format-time-string "day: %d, month: %h, year: %y")
C-x C-e wrongly returns "day: 06, month: , year: 13"
(format-time-string "day: %d, month: %b, year: %y")
C-x C-e returns "day: 06, month: Oct, year: 13"
Thanks in advance, kindest regards.
Andrea Rossetti
http://github.com/thesoftwarebin
next reply other threads:[~2013-10-06 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-06 12:44 Andrea Rossetti [this message]
2013-11-04 23:14 ` exported dates in ox-rss.el Bastien
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=84y5661sd1.fsf@gmail.com \
--to=andrea.rossetti@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).