The following will work:
# Local Variables: # org-time-stamp-custom-formats: ("<%Y-%m>" . "<%Y-%m %H:%M>") # eval: (org-toggle-time-stamp-overlays) # End:
(org-toggle-time-stamp-overlays) (C-cC-xC-t) to ensure they are properly displayed.
You will need to confirm that these are safe local variables for them to apply however once they are approved the document will load with them already showing.
Toggle command referenced from the Org Manual
Showing differences between the various local variable settings
The three pictures below show:
- Answer as above
- Answer without including the
evalline. This does not show the custom timestamps. C-cC-xC-t will toggle them to be visible
org-time-stamp-custom-formatsspecification. If custom timestamps are toggled the timestamps are no longer fontified. They will show properly once custom timestamp overlays are removed.