From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Rossetti Subject: exported dates in ox-rss.el Date: Sun, 06 Oct 2013 14:44:26 +0200 Message-ID: <84y5661sd1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSoZA-0004T6-Q1 for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 09:40:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSoZ4-00074T-VB for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 09:40:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:51034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSoZ4-00070H-FG for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 09:40:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VSoZ1-0001md-QS for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 15:40:03 +0200 Received: from adsl-ull-201-167.51-151.net24.it ([151.51.167.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Oct 2013 15:40:03 +0200 Received: from andrea.rossetti by adsl-ull-201-167.51-151.net24.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Oct 2013 15:40:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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: Sat, 05 2013 15:44:49 +0200 (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