Function: icalendar--datetime-to-american-date
icalendar--datetime-to-american-date is a byte-compiled function
defined in icalendar.el.gz.
This function is obsolete since 31.1; use
icalendar-date/time-to-date and diary-icalendar-format-date
instead.
Signature
(icalendar--datetime-to-american-date DATETIME &optional SEPARATOR)
Documentation
Convert the decoded DATETIME to American-style format.
Optional argument SEPARATOR gives the separator between month, day, and year. If nil a blank character is used as separator. American format: "month day year".
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
(defun icalendar--datetime-to-american-date (datetime &optional separator)
"Convert the decoded DATETIME to American-style format.
Optional argument SEPARATOR gives the separator between month,
day, and year. If nil a blank character is used as separator.
American format: \"month day year\"."
(declare (obsolete "use `icalendar-date/time-to-date' and
`diary-icalendar-format-date' instead." "31.1"))
(if datetime
(format "%d%s%d%s%d" (nth 4 datetime) ;month
(or separator " ")
(nth 3 datetime) ;day
(or separator " ")
(nth 5 datetime)) ;year
;; datetime == nil
nil))