From 68ccd547e5212cc896d8507d5f07743bd3c03573 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Sat, 9 Jul 2011 02:06:48 +0530 Subject: [PATCH] org-lparse.el: Fix export of timestamps that occur as list items * contrib/lisp/org-lparse.el (org-lparse-handle-time-stamps): Space is significant. Don't gobble it. --- contrib/lisp/org-lparse.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/org-lparse.el b/contrib/lisp/org-lparse.el index 3b629c5e1..d4927e5a6 100755 --- a/contrib/lisp/org-lparse.el +++ b/contrib/lisp/org-lparse.el @@ -1338,7 +1338,7 @@ for further information." (while (string-match org-maybe-keyword-time-regexp s) (or b (setq b (substring s 0 (match-beginning 0)))) (setq r (concat - r (substring s 0 (match-beginning 0)) + r (substring s 0 (match-beginning 0)) " " (org-lparse-format 'FONTIFY (concat @@ -1346,6 +1346,7 @@ for further information." (org-lparse-format 'FONTIFY (match-string 1 s) "timestamp-kwd")) + " " (org-lparse-format 'FONTIFY (substring (org-translate-time (match-string 3 s)) 1 -1) -- 2.11.4.GIT