I'm attempting to modify the formatting of timestamps when they are exported to either HTML or TeX/pdf. I have tried two different ways, neither one of which works. The first way was here and I put that code in my dotemacs file. However, I get a symbol's value is void error for
org-export-filter-timestamp-functions when I open emacs.
The second way I tried, which also does not work is to attempt the example in the manual under "defining filters for individual files." I copy/pasted the text into the beginning of my org document, but this does not change the formatting of timestamps at all.
#+BIND: org-export-filter-timestamp-functions (tmp-f-timestamp) #+BIND: org-export-filter-strike-through-functions (tmp-f-strike-through) #+begin_src emacs-lisp :exports results :results none (defun tmp-f-timestamp (s backend info) (replace-regexp-in-string "&[lg]t;\\|" "" s)) (defun tmp-f-strike-through (s backend info) "") #+end_src