mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-12-22 04:29:04 +00:00
Add DATEFORMAT option to letterheader
Allows adjustment of the dateformat string used for the coverletter header
This commit is contained in:
parent
e372aa78be
commit
99ea2e0878
1 changed files with 2 additions and 1 deletions
|
@ -247,10 +247,11 @@ as a communication channel."
|
|||
(label-str (if label (format "%s\\hfill{}" label) ""))
|
||||
;; Other Coverletter properties
|
||||
(recipient (or (org-element-property :RECIPIENT headline) ""))
|
||||
(letter-dateformat (org-element-property :DATEFORMAT headline))
|
||||
(letter-date
|
||||
(format "\\letterdate{%s}"
|
||||
(if date
|
||||
(format "%s" (org-awesomecv-org-timestamp-to-dateformat date nil t))
|
||||
(format "%s" (org-awesomecv-org-timestamp-to-dateformat date letter-dateformat t))
|
||||
"\\today")))
|
||||
(letter-opening (or (format "\\letteropening{%s}" (org-element-property :LETTER_OPENING headline)) ""))
|
||||
(letter-closing (or (format "\\letterclosing{%s}" (org-element-property :LETTER_CLOSING headline)) ""))
|
||||
|
|
Loading…
Reference in a new issue