Variable: diary-icalendar-time-format

diary-icalendar-time-format is a customizable variable defined in diary-icalendar.el.gz.

Value

"%H:%M"

Documentation

Format string to use for event times.

The value must be a valid format string for format-time-string; see its docstring for more information. The value only needs to format clock times, and should format them in a way that will be recognized by diary-time-regexp. (Date information is formatted separately at the
start of the imported entry.) Examples:

  "%H:%M" - 24-hour, 0-padded: 09:00 or 21:00
  "%k.%Mh" - 24-hour, blank-padded: 9.00h or 21.00h
  "%I:%M%p" - 12-hour, 0-padded, with AM/PM: 09:00AM or 09:00PM
  "%l.%M%p" - 12-hour, blank-padded, with AM/PM: 9.00AM or 9.00PM

This variable was added, or its default value changed, in Emacs 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defcustom di:time-format "%H:%M"
  "Format string to use for event times.

The value must be a valid format string for `format-time-string'; see
its docstring for more information.  The value only needs to format clock
times, and should format them in a way that will be recognized by
`diary-time-regexp'.  (Date information is formatted separately at the
start of the imported entry.)  Examples:

  \"%H:%M\" - 24-hour, 0-padded: 09:00 or 21:00
  \"%k.%Mh\" - 24-hour, blank-padded: 9.00h or 21.00h
  \"%I:%M%p\" - 12-hour, 0-padded, with AM/PM: 09:00AM or 09:00PM
  \"%l.%M%p\" - 12-hour, blank-padded, with AM/PM: 9.00AM or 9.00PM"
  :version "31.1"
  :type '(string))