Variable: calendar-date-style
calendar-date-style is a customizable variable defined in
calendar.el.gz.
Value
american
Documentation
Your preferred style for writing dates.
The options are:
american - month/day/year
european - day/month/year
iso - year/month/day
This affects how dates written in your diary are interpreted.
It also affects date display, as well as those calendar and diary
functions that take a date as an argument, e.g. diary-date, by
changing the order in which the arguments are interpreted.
Setting this variable directly does not take effect (if the
calendar package is already loaded). Rather, use either
M-x customize (customize) or the function calendar-set-date-style.
This variable was added, or its default value changed, in Emacs 23.1.
Probably introduced at or before Emacs version 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/calendar.el.gz
(defcustom calendar-date-style 'american
"Your preferred style for writing dates.
The options are:
`american' - month/day/year
`european' - day/month/year
`iso' - year/month/day
This affects how dates written in your diary are interpreted.
It also affects date display, as well as those calendar and diary
functions that take a date as an argument, e.g. `diary-date', by
changing the order in which the arguments are interpreted.
Setting this variable directly does not take effect (if the
calendar package is already loaded). Rather, use either
\\[customize] or the function `calendar-set-date-style'."
:version "23.1"
:type '(choice (const :value american :tag "American (Month/Day/Year)")
(const :value european :tag "European (Day/Month/Year)")
(const :value iso :tag "ISO 8601 (Year/Month/Day)"))
:initialize 'custom-initialize-default
:set (lambda (_symbol value)
(calendar-set-date-style value))
:group 'calendar)