summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-12-20 14:22:14 +0100
committerCarsten Dominik <carsten.dominik@gmail.com>2010-12-20 14:22:14 +0100
commitd737c32130163c7c4e82a3b4497856fda8e0162c (patch)
tree5ae57d8cc2d09da1bc2651fb5794f6b8517fbc38
parentde62618009355eef3658fa4318b3c0a8144c1ec7 (diff)
downloadorg-mode-d737c32130163c7c4e82a3b4497856fda8e0162c.tar.gz
Fix bug with capture to datetree
* lisp/org-capture.el (org-capture-set-target-location): Use `current-time'.
-rw-r--r--lisp/org-capture.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index eef8b5a..2326cec 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))))))