Browse Source

Merge branch 'master' of orgmode.org:org-mode

Bastien Guerry 4 years ago
parent
commit
6e4ce7dc23
1 changed files with 4 additions and 1 deletions
  1. 4 1
      contrib/lisp/ox-taskjuggler.el

+ 4 - 1
contrib/lisp/ox-taskjuggler.el

@@ -458,7 +458,10 @@ ITEM is a headline.  Return value is a string."
 ITEM is a headline.  Return value is a string or nil if ITEM
 doesn't have any start date defined.."
   (let ((scheduled (org-element-property :scheduled item)))
-    (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d"))))
+    (or
+     (and scheduled (org-timestamp-format scheduled "%Y-%02m-%02d"))
+     (and (member 'start org-taskjuggler-valid-resource-attributes)
+	  (org-element-property :START item)))))
 
 (defun org-taskjuggler-get-end (item)
   "Return end date for task or resource ITEM.