Hi,

I have used this script

http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg00197.html

to import my RTM Atom feeds into org.

The execution fails (no feed is downloaded) whenever the "Due:" field in at 
least one entry contains a time in addition to the date.

The following patch seems to solve the problem

-   (string-match "^\\([a-zA-Z]*\\) \\([0-9]*\\) \\([a-zA-Z]*\\) \\([0-9]*\\)$" 
mydate)
-   (setq mydate (concat "20" (match-string 4 mydate) " " (match-string 3 
mydate) " " (match-string 2 mydate) " 00:00:01"))

+  (string-match "\\([0-9]*\\) \\([a-zA-Z]*\\) \\([0-9]*\\)" mydate)
+  (setq mydate (concat "20" (match-string 3 mydate) " " (match-string 2 
mydate) " " (match-string 1 mydate) " 00:00:01"))

Thanks to Arun Persaud for the original script.
Giulio


Reply via email to