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.
This commit is contained in:
Bastien Guerry 2014-07-28 18:08:34 +02:00
parent d83bf0e800
commit 1387694888
1 changed files with 2 additions and 2 deletions

View File

@ -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.