瀏覽代碼

Fix bug with capture to datetree

* lisp/org-capture.el (org-capture-set-target-location): Use `current-time'.
Carsten Dominik 14 年之前
父節點
當前提交
d737c32130
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-capture.el

+ 1 - 1
lisp/org-capture.el

@@ -679,7 +679,7 @@ already gone.  Any prefix argument will be passed to the refile comand."
 	    ;; prompt for date
 	    (time-to-days (org-read-date 
 			   nil t nil "Date for tree entry:"
-			   (days-to-time (org-today)))))
+			   (current-time))))
 	   (t
 	    ;; current date, possible corrected for late night workers
 	    (org-today))))))