emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix ODT output for scheduled items.


From: Nick Dokos
Subject: Re: [PATCH] Fix ODT output for scheduled items.
Date: Sat, 28 Nov 2020 10:38:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Same patch but fixes the typo in the Changelog:

>From 7dc4877469c5bed7580ff80e9534480e16972b93 Mon Sep 17 00:00:00 2001
From: Nick Dokos <ndokos@gmail.com>
Date: Sat, 28 Nov 2020 10:01:02 -0500
Subject: [PATCH] org-odt-planning: Fix scheduled item output

* lisp/ox-odt.el (org-odt-planning): Use org-scheduled-string, not
  org-deadline-string, for scheduled items.

See 
<https://emacs.stackexchange.com/questions/61985/org-export-to-odt-incorrectly-use-deadline-for-scheduled>
 for an ECM.
---
 lisp/ox-odt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el
index 4619f9fcd..ef07acfed 100644
--- a/lisp/ox-odt.el
+++ b/lisp/ox-odt.el
@@ -2946,7 +2946,7 @@ channel."
             (when scheduled
               (concat
                (format "<text:span text:style-name=\"%s\">%s</text:span>"
-                       "OrgScheduledKeyword" org-deadline-string)
+                       "OrgScheduledKeyword" org-scheduled-string)
                (org-odt-timestamp scheduled contents info)))))))
 
 
-- 
2.25.4

-- 
Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]