Fix bug with capture to datetree

* lisp/org-capture.el (org-capture-set-target-location): Use `current-time'.
This commit is contained in:
Carsten Dominik 2010-12-20 14:22:14 +01:00
parent de62618009
commit d737c32130
1 changed files with 1 additions and 1 deletions

View File

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