Function: org-bbdb-anniv-extract-date

org-bbdb-anniv-extract-date is a byte-compiled function defined in ol-bbdb.el.gz.

Signature

(org-bbdb-anniv-extract-date TIME-STR)

Documentation

Convert YYYY-MM-DD to (month date year).

Argument TIME-STR is the value retrieved from BBDB. If YYYY- is omitted it will be considered unknown.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol-bbdb.el.gz
(defun org-bbdb-anniv-extract-date (time-str)
  "Convert YYYY-MM-DD to (month date year).
Argument TIME-STR is the value retrieved from BBDB.  If YYYY- is omitted
it will be considered unknown."
  (pcase (org-split-string time-str "-")
    (`(,a ,b) (list (string-to-number a) (string-to-number b) nil))
    (`(,a ,b ,c) (list (string-to-number b)
		       (string-to-number c)
		       (string-to-number a)))))