Variable: org-modern-timestamp
org-modern-timestamp is a customizable variable defined in
org-modern.el.
Value
t
Documentation
Prettify time stamps, e.g. <2022-03-01>.
Set to nil to disable styling the time stamps. In order to use
custom timestamps, the format should be (DATE . TIME) where DATE
is the format for date, and TIME is the format for time. DATE
and TIME must be surrounded with space. For the syntax, refer to
format-time-string.
Source Code
;; Defined in /nix/store/0fwir9vccqq0yiqnswyf22ip3sl68f49-emacs-packages-deps/share/emacs/site-lisp/elpa/org-modern-20260722.1411/org-modern.el
(defcustom org-modern-timestamp t
"Prettify time stamps, e.g. <2022-03-01>.
Set to nil to disable styling the time stamps. In order to use
custom timestamps, the format should be (DATE . TIME) where DATE
is the format for date, and TIME is the format for time. DATE
and TIME must be surrounded with space. For the syntax, refer to
`format-time-string'."
:type '(choice
(const :tag "Disable time stamp styling" nil)
(const :tag "Enable timestamp styling" t)
(const :tag "Use format YYYY-MM-DD HH:MM" (" %Y-%m-%d " . " %H:%M "))
(cons :tag "Custom format" string string)))