From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Finney Subject: Re: Date calculations Date: Thu, 31 Dec 2009 09:46:40 +1100 Message-ID: <87zl5013n3.fsf@benfinney.id.au> References: <6DC4A9FE-BA1F-4106-87D7-29985BF09116@jumans.net> <87r5qctxn8.fsf@in-ulm.de> <87k4w4tue9.fsf@in-ulm.de> <30298530-9D3B-4FFA-8A92-9551AABCE09D@gmail.com> <87eimctql4.fsf@in-ulm.de> <87d41wmp2z.fsf@mean.albasani.net> <87aax0tpfp.fsf@in-ulm.de> <555975FA-B50D-4AD5-893D-FB4A6F323F4E@gmail.com> <87my10kxlh.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ7L4-00056T-7B for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:48:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ7Kz-00054M-S2 for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:48:21 -0500 Received: from [199.232.76.173] (port=53887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ7Kz-00054H-O4 for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:48:17 -0500 Received: from lo.gmane.org ([80.91.229.12]:40403) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQ7Kz-0007ux-Ed for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 17:48:17 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NQ7KL-0000yj-ID for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 23:47:37 +0100 Received: from eth595.vic.adsl.internode.on.net ([150.101.214.82]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 23:47:37 +0100 Received: from ben+emacs by eth595.vic.adsl.internode.on.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 23:47:37 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Memnon Anon 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