Browse Source

Fix bug with capture to datetree

* lisp/org-capture.el (org-capture-set-target-location): Use `current-time'.
Carsten Dominik 14 years ago
parent
commit
d737c32130
1 changed files with 1 additions and 1 deletions
  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))))))