From d737c32130163c7c4e82a3b4497856fda8e0162c Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 20 Dec 2010 14:22:14 +0100 Subject: [PATCH] Fix bug with capture to datetree * lisp/org-capture.el (org-capture-set-target-location): Use `current-time'. --- lisp/org-capture.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index eef8b5a28..2326cece6 100644 --- a/lisp/org-capture.el +++ b/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))))))