Variable: diary-iso-date-forms

diary-iso-date-forms is a customizable variable defined in calendar.el.gz.

Value

((month "[-/]" day "[^-/0-9]") (year "[-/]" month "[-/]" day "[^0-9]")
 (monthname " *" day "[^-0-9]")
 (year " *" monthname " *" day "[^0-9]") (dayname "\\W"))

Documentation

List of pseudo-patterns describing the ISO style of dates.

The defaults are: MONTH[-/]DAY; YEAR[-/]MONTH[-/]DAY; MONTHNAME DAY; YEAR MONTHNAME DAY; DAYNAME. Normally you should not customize this, but diary-date-forms (which see).

This variable was added, or its default value changed, in Emacs 23.3.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/calendar.el.gz
;; Next three are provided to aid in setting diary-date-forms.
;; FIXME move to diary-lib?
(defcustom diary-iso-date-forms
  '((month "[-/]" day "[^-/0-9]")
    (year "[-/]" month "[-/]" day "[^0-9]")
    ;; Cannot allow [-/] as separators here, since it would also match
    ;; the first element (bug#7377).
    (monthname " *" day "[^-0-9]")
    (year " *" monthname " *" day "[^0-9]")
    (dayname "\\W"))
    "List of pseudo-patterns describing the ISO style of dates.
The defaults are: MONTH[-/]DAY; YEAR[-/]MONTH[-/]DAY; MONTHNAME DAY;
YEAR MONTHNAME DAY; DAYNAME.  Normally you should not customize this,
but `diary-date-forms' (which see)."
    :version "23.3"                     ; bug#7377
    :type '(repeat (choice (cons :tag "Backup"
                               :value (backup . nil)
                               (const backup)
                               (repeat (list :inline t :format "%v"
                                             (symbol :tag "Keyword")
                                             (choice symbol regexp))))
                         (repeat (list :inline t :format "%v"
                                       (symbol :tag "Keyword")
                                       (choice symbol regexp)))))
    :group 'diary)