Function: denote-extract-date-from-front-matter

denote-extract-date-from-front-matter is a byte-compiled function defined in denote.el.

Signature

(denote-extract-date-from-front-matter DATE-STRING)

Documentation

Extract date object from front matter DATE-STRING.

Consult the denote-file-types for how this is used.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-extract-date-from-front-matter (date-string)
  "Extract date object from front matter DATE-STRING.

Consult the `denote-file-types' for how this is used."
  (let ((date-string (denote-trim-whitespace date-string)))
    (if (string-empty-p date-string)
        nil
      (date-to-time date-string))))