[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diary: date format
From: |
Edward M. Reingold |
Subject: |
Re: diary: date format |
Date: |
21 Dec 2005 17:07:07 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
>>>>> "E" == Emabela <emabela@vipmail.hu> writes:
E> How can I specify the date format for the diary?
You set the value of diary-date-forms (see the documentation for details).
E> I would use Japanese/Hungarian date format:
E> YYYY.MM.DD.
If you want ONLY that style, set
(setq diary-date-forms '((year "." month "." day" [^/0-9]")))
This will lose the possibility of having day names, etc recognized. For
example, the standard European value for diary-date-forms is
'((day "/" month "[^/0-9]")
(day "/" month "/" year "[^0-9]")
(backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)")
(day " *" monthname " *" year "[^0-9]")
(dayname "\\W"))
--
Professor Edward M. Reingold Email: reingold@iit.edu
Chairman, Department of Computer Science Voice: (312) 567-3309
Illinois Institute of Technology Assistant: (312) 567-5152
Stuart Building Fax: (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL 60616-3729 U.S.A.