* exported dates in ox-rss.el
@ 2013-10-06 12:44 Andrea Rossetti
2013-11-04 23:14 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Rossetti @ 2013-10-06 12:44 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: exported dates in ox-rss.el
2013-10-06 12:44 exported dates in ox-rss.el Andrea Rossetti
@ 2013-11-04 23:14 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-04 23:14 UTC (permalink / raw)
To: Andrea Rossetti; +Cc: emacs-orgmode
Hi Andrea,
Andrea Rossetti <andrea.rossetti@gmail.com> writes:
> 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 updated ox-rss.el so that it uses %b instead of %h.
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-04 23:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-06 12:44 exported dates in ox-rss.el Andrea Rossetti
2013-11-04 23:14 ` 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).