Next: Time Display Format, Previous: Converting from the Mayan Calendar, Up: More advanced features of the Calendar and Diary [Contents][Index]
33.13.4 Date Display FormatYou can customize the way dates are displayed in the diary, mode lines, and messages by setting calendar-date-display-form
. This variable holds a list of expressions that can involve the variables month
, day
, and year
, which are all numbers in string form, and monthname
and dayname
, which are both alphabetic strings. In the American style, the default value of this list is as follows:
((if dayname (concat dayname ", ")) monthname " " day ", " year)
while in the European style this value is the default:
((if dayname (concat dayname ", ")) day " " monthname " " year)
The default ISO date representation is:
((format "%s-%.2d-%.2d" year (string-to-number month) (string-to-number day)))
Another typical American format is:
(month "/" day "/" (substring year -2))
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4