Function: icalendar--datetime-to-colontime

icalendar--datetime-to-colontime is a byte-compiled function defined in icalendar.el.gz.

This function is obsolete since 31.1; use diary-icalendar-format-time instead.

Signature

(icalendar--datetime-to-colontime DATETIME)

Documentation

Extract the time part of a decoded DATETIME into 24-hour format.

Note that this silently ignores seconds.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
(defun icalendar--datetime-to-colontime (datetime)
  "Extract the time part of a decoded DATETIME into 24-hour format.
Note that this silently ignores seconds."
  (declare (obsolete diary-icalendar-format-time "31.1"))
  (format "%02d:%02d" (nth 2 datetime) (nth 1 datetime)))