[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] exported dates in ox-rss.el
From: |
Andrea Rossetti |
Subject: |
[O] exported dates in ox-rss.el |
Date: |
Sun, 06 Oct 2013 14:44:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] exported dates in ox-rss.el,
Andrea Rossetti <=