diff options
author | Bastien Guerry <bzg@altern.org> | 2014-07-28 18:08:34 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2014-07-28 18:08:34 +0200 |
commit | 1387694888facf7a47304bfe272e95544086221c (patch) | |
tree | 048c8a2b3b77fef76dd875e9e42ca646a61ee69c | |
parent | d83bf0e80080b349492ad8ce3ba15fad91384ad3 (diff) | |
download | org-mode-1387694888facf7a47304bfe272e95544086221c.tar.gz |
org-capture.el (org-capture-fill-template): Small fix
* org-capture.el (org-capture-fill-template): Take
`org-extend-today-until' into account when setting the format
time string.
-rw-r--r-- | lisp/org-capture.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index d8617d1..c708683 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1529,8 +1529,8 @@ The template may still contain \"%?\" for cursor positioning." (v-x (or (org-get-x-clipboard 'PRIMARY) (org-get-x-clipboard 'CLIPBOARD) (org-get-x-clipboard 'SECONDARY))) - (v-t (format-time-string (car org-time-stamp-formats) ct)) - (v-T (format-time-string (cdr org-time-stamp-formats) ct)) + (v-t (format-time-string (car org-time-stamp-formats) ct1)) + (v-T (format-time-string (cdr org-time-stamp-formats) ct1)) (v-u (concat "[" (substring v-t 1 -1) "]")) (v-U (concat "[" (substring v-T 1 -1) "]")) ;; `initial' and `annotation' might habe been passed. |