all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* diary: date format
@ 2005-12-21 22:40 Emabela
  0 siblings, 0 replies; 4+ messages in thread
From: Emabela @ 2005-12-21 22:40 UTC (permalink / raw)







Hello Everybody,

 

 How can I specify the date format for the diary?

I would use Japanese/Hungarian date format:

 YYYY.MM.DD.

e.g. in ~/diary.



Is there something like japanese-calendar?



Thanks for any help.



Regards,

B.



--------------------------Hirdetés-----------------------------

KORLÁTLAN ADSL KEDVEZŐ ÁRON

Gyors beszerelés, teljes körű ügyfélszolgálat.

Ennél kedvezőbbet nem talál!

http://www.vipdsl.hu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: diary: date format
       [not found] <mailman.20119.1135204897.20277.help-gnu-emacs@gnu.org>
@ 2005-12-21 23:07 ` Edward M. Reingold
  0 siblings, 0 replies; 4+ messages in thread
From: Edward M. Reingold @ 2005-12-21 23:07 UTC (permalink / raw)


>>>>> "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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: diary: date format
@ 2005-12-22 19:58 Emabela
  2005-12-22 21:22 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Emabela @ 2005-12-22 19:58 UTC (permalink / raw)





Thank you for your help.



&gt;You set the value of diary-date-forms (see the documentation for detail
s).



&gt;[...]



&gt;This will lose the possibility of having day names, etc recognized.  Fo
r

&gt;example, the standard European value for diary-date-forms is

And how can I specify the localized day names?

With calendar-day-name-array?

Or with

(setq dayname '("localizedmonday" "andsoon"))  ?



Regards,

B.



--------------------------Hirdetés-----------------------------

KORLÁTLAN ADSL AKCIÓ

Privát és Üzleti csomagok remek áron.

Gyors beszerelés, teljes körű ügyfélszolgálat.

http://www.vipdsl.hu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: diary: date format
  2005-12-22 19:58 Emabela
@ 2005-12-22 21:22 ` Peter Dyballa
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2005-12-22 21:22 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 22.12.2005 um 20:58 schrieb Emabela:

> With calendar-day-name-array?
>

This is in German:

(defvar calendar-day-name-array
   ["Sonntag" "Montag" "Dienstag" "Mittwoch" "Donnerstag" "Freitag" 
"Samstag"])
(defvar calendar-day-abbrev-array
   ["So" "Mo" "Di" "Mi" "Do" "Fr" "Sa"])
(defvar calendar-month-name-array
   ["Januar" "Februar" "März"      "April"   "Mai"      "Juni"
    "Juli"   "August"  "September" "Oktober" "November" "Dezember"])
(defvar calendar-month-abbrev-array
   ["Jan" "Feb" "Mär" "Apr" "Mai" "Jun" "Jul" "Aug" "Sep" "Okt" "Nov" 
"Dez"])
(defvar calendar-date-display-form
    '((format "%2s, %2s. %9s %4s"
              (substring dayname 0 2) day (string-make-multibyte 
monthname) year)))

The English examples are in calendar.el.

--
Greetings

   Pete


"Evolution"            o           __o                     _o _
           °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____
""

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-22 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21 22:40 diary: date format Emabela
     [not found] <mailman.20119.1135204897.20277.help-gnu-emacs@gnu.org>
2005-12-21 23:07 ` Edward M. Reingold
  -- strict thread matches above, loose matches on Subject: below --
2005-12-22 19:58 Emabela
2005-12-22 21:22 ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.