Function: org-order-calendar-date-args

org-order-calendar-date-args is a byte-compiled function defined in org.el.gz.

Signature

(org-order-calendar-date-args ARG1 ARG2 ARG3)

Documentation

Turn a user-specified date into the internal representation.

The internal representation needed by the calendar is (month day year). This is a wrapper to handle the brain-dead convention in calendar that user function argument order change dependent on argument order.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-order-calendar-date-args (arg1 arg2 arg3)
  "Turn a user-specified date into the internal representation.
The internal representation needed by the calendar is (month day year).
This is a wrapper to handle the brain-dead convention in calendar that
user function argument order change dependent on argument order."
  (pcase calendar-date-style
    (`american (list arg1 arg2 arg3))
    (`european (list arg2 arg1 arg3))
    (`iso (list arg2 arg3 arg1))))