diff --git a/lisp/org-capture.el b/lisp/org-capture.el index cbdf6f7..54f207d 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1612,7 +1612,7 @@ The template may still contain \"%?\" for cursor positioning." ;; The current time (goto-char (point-min)) (while (re-search-forward "%<\\([^>\n]+\\)>" nil t) - (replace-match (format-time-string (match-string 1)) t t)) + (replace-match (format-time-string (match-string 1) ct) t t)) ;; Simple %-escapes (goto-char (point-min))