Hi again,
I've applied the patch. I propose a further tiny improvement:
,----
| --- a/contrib/lisp/ox-koma-letter.el
| +++ b/contrib/lisp/ox-koma-letter.el
| @@ -273,7 +273,7 @@ holding export options."
| (when email (format "\\setkomavar{fromemail}{%s}\n" email))
| (when signature (format "\\setkomavar{signature}{%s}\n" signature))))
| ;; Date.
| - (format "\\date{%s}\n" (org-export-data (org-export-get-date info) info))
| + (format "\\setkomavar{date}{%s}\n" (org-export-data (org-export-get-date
info) info))
| ;; Place
| (let ((with-place (plist-get info :with-place))
| (place (plist-get info :place)))
`----
It seems that the date is not picked up by the letter unless it's in a
koma var. I can commit this if you think it's correct.
Thanks,
Alan