all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ben Finney <ben+emacs@benfinney.id.au>
To: emacs-orgmode@gnu.org
Subject: Re: Date calculations
Date: Thu, 31 Dec 2009 09:46:40 +1100	[thread overview]
Message-ID: <87zl5013n3.fsf@benfinney.id.au> (raw)
In-Reply-To: 87my10kxlh.fsf@mean.albasani.net

Memnon Anon <gegendosenfleisch@googlemail.com> writes:

> ,----[ (info "(org)Weekly/daily agenda") ]
> |      * Birthdays and similar stuff
> |      #+CATEGORY: Holiday
> |      %%(org-calendar-holiday)   ; special function for holiday names
> |      #+CATEGORY: Ann
> |      %%(diary-anniversary 14  5 1956) Arthur Dent is %d years old
> |      %%(diary-anniversary  2 10 1869) Mahatma Gandhi would be %d years old
> `----
>
> These examples suggest D-M-Y, which only seems to work with the
> calendar set to european style. Maybe, it would be better to change
> the example to M-D-Y (I think it is more common?) and add a footnote
> that provides the info that the date format is depending on
> calendar-date-style?

It might be even better to use calendar style ‘iso’ in that
documentation, to be consistent with default Org usage.

> So, if I understand it correctly, org-bbdb settled on iso format,
> diary-anniversary uses either american or european style depending on
> calendar-date-style.
>
> Thats somehow inconsistent, isn't it?

Yes, that inconsistency in the Diary behaviour has been noted.

-- 
 \       “My business is to teach my aspirations to conform themselves |
  `\              to fact, not to try and make facts harmonise with my |
_o__)                   aspirations.“ —Thomas Henry Huxley, 1860-09-23 |
Ben Finney

  reply	other threads:[~2009-12-30 22:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30 12:47 Date calculations Fredrik
2009-12-30 13:08 ` Fredrik
2009-12-30 13:09 ` Ian Barton
2009-12-30 13:11 ` Benjamin Andresen
2009-12-30 14:21   ` Benjamin Andresen
2009-12-30 15:05     ` Memnon Anon
2009-12-30 15:27     ` Carsten Dominik
2009-12-30 15:43       ` Benjamin Andresen
2009-12-30 15:58         ` Memnon Anon
2009-12-30 16:08           ` Benjamin Andresen
2009-12-30 19:21             ` Carsten Dominik
2009-12-30 19:51               ` Benjamin Andresen
2009-12-30 22:41                 ` Carsten Dominik
2009-12-30 20:37               ` Memnon Anon
2009-12-30 22:46                 ` Ben Finney [this message]
2010-01-01 10:32                 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zl5013n3.fsf@benfinney.id.au \
    --to=ben+emacs@benfinney.id.au \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.