From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Date calculations Date: Fri, 1 Jan 2010 11:32:20 +0100 Message-ID: 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 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQeo3-0007o7-Bo for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:32:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQeny-0007nH-0e for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:32:30 -0500 Received: from [199.232.76.173] (port=59149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQenx-0007nE-SU for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:32:25 -0500 Received: from ey-out-1920.google.com ([74.125.78.148]:41681) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQenx-0000V2-Gq for emacs-orgmode@gnu.org; Fri, 01 Jan 2010 05:32:25 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1458953eyg.34 for ; Fri, 01 Jan 2010 02:32:22 -0800 (PST) In-Reply-To: <87my10kxlh.fsf@mean.albasani.net> 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: Memnon Anon Cc: emacs-orgmode@gnu.org On Dec 30, 2009, at 9:37 PM, Memnon Anon wrote: > 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? Hi Memnon, Org-mode consistently uses ISO format, I believe. I chose it precisely in order to make sure there could be no misunderstanding in what these dates mean. I cannot change the behavior of the calendar functions.... - Carsten