Tom Gillespie <tgb...@gmail.com> writes: > + (format-time-string > + (string-replace "<" "" > + (string-replace ">" "" (cdr > org-time-stamp-formats)))))
`string-replace' is very aggressive. You may want something like "\\`<" and "\\'>", matching only beginning/end of the string. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>