From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: Date calculations Date: Wed, 30 Dec 2009 20:37:04 +0000 (UTC) Message-ID: <87my10kxlh.fsf@mean.albasani.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ5KP-0000YE-Kr for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 15:39:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ5KL-0000XC-2s for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 15:39:33 -0500 Received: from [199.232.76.173] (port=55177 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ5KK-0000Wz-T8 for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 15:39:28 -0500 Received: from lo.gmane.org ([80.91.229.12]:39533) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQ5KK-0007HI-Gc for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 15:39:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NQ5K1-00051Z-Ht for emacs-orgmode@gnu.org; Wed, 30 Dec 2009 21:39:09 +0100 Received: from e178230026.adsl.alicedsl.de ([85.178.230.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 21:39:09 +0100 Received: from gegendosenfleisch by e178230026.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 21:39:09 +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 Carsten Dominik writes: > can you point out exactly where in the documentation this is located? ,----[ (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? The next paragraph (Anniversaries from BBDB) on the other hand states a fixed order. > Basically, you need to press `C-o anniversary ' with the cursor in > a BBDB record and then add the date in the format `YYYY-MM-DD', > [...] > 1973-06-22 > 1955-08-02 wedding > 2008-04-14 %s released version 6.01 of org-mode, %d years ago 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?