Function: diary-icalendar-format-time
diary-icalendar-format-time is a byte-compiled function defined in
diary-icalendar.el.gz.
Signature
(diary-icalendar-format-time DT &optional TZNAME)
Documentation
Format the icalendar-date-time DT for the diary.
The time is formatted according to diary-icalendar-time-format, which see.
TZNAME, if specified, should be a string naming the time zone observance
in which DT occurs.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defun di:format-time (dt &optional tzname)
"Format the `icalendar-date-time' DT for the diary.
The time is formatted according to `diary-icalendar-time-format', which see.
TZNAME, if specified, should be a string naming the time zone observance
in which DT occurs."
;; Diary does not support seconds, so silently truncate:
(let ((time (format-time-string di:time-format (encode-time dt))))
(if tzname
(concat time " " tzname)
time)))